Skip to content

Deep link AES128 #1262

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Naturalov opened this issue Aug 12, 2023 · 3 comments · Fixed by #1278
Closed

Deep link AES128 #1262

Naturalov opened this issue Aug 12, 2023 · 3 comments · Fixed by #1278
Assignees
Labels
enhancement Make it better!

Comments

@Naturalov
Copy link

aiogram version

3.x

Problem

Wants to create deep link with AES, now byte64.

Possible solution

.

Alternatives

.

Code example

link = await create_start_link(bot=bot, payload='text', encode='Aes128', key='key')

Additional information

No response

@Naturalov Naturalov added the enhancement Make it better! label Aug 12, 2023
@JrooTJunior
Copy link
Member

In some cases it can be useful, but Base64 works out of the box in Python unlike AES or other cryptographic algorithms, so, i think it should not be added directly into aiogram, but it can be implemeted as separate library.

@Naturalov
Copy link
Author

In some cases it can be useful, but Base64 works out of the box in Python unlike AES or other cryptographic algorithms, so, i think it should not be added directly into aiogram, but it can be implemeted as separate library.

That's a good idea, too

@Olegt0rr Olegt0rr reopened this Aug 22, 2023
@Olegt0rr Olegt0rr mentioned this issue Aug 22, 2023
10 tasks
@Olegt0rr Olegt0rr self-assigned this Aug 22, 2023
@Olegt0rr
Copy link
Contributor

Olegt0rr commented Sep 2, 2023

@Naturalov now you can use your custom encoder :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Make it better!
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants