Is there any encryption-related module available for Python 3?

Asked 2 years ago, Updated 2 years ago, 109 views

Please tell me the normal encryption module that I can use on Python 3 The hashlib module doesn't seem to work properly

It doesn't matter what encryption method it is However, it would be nice if the encryption was released if the key was given.

You can just tell me the module.

I would appreciate it more if you could simply put a value in the variable and create an example code to encrypt the value :) Have a nice day I'll check it out as soon as I check.

python3 python encryption aes rsa

2022-09-21 17:54

1 Answers

hash is not encryption. I made a mistake in the first place.

Symmetric key encryption fits the questioner requirements.

This means that the encryption/decryption keys are the same.

The encryption side is also complex. In other words, in order to use it properly, you have to learn.

Aes256 is probably the most commonly used symmetric key algorithm at the moment. I use 128 degrees, but the bit is low, so I use 256 or more recently.

If it's aes, then...You need to learn terms such as operating mode, padding, etc.

If you use ecb/pkcs7, there is no iv and it seems to be coded simply.

The module uses the following pycrypto a lot.

https://pypi.org/project/pycrypto/

https://www.dlitz.net/software/pycrypto/doc/


2022-09-21 17:54

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.