Asymmetric Encryption - Python | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

Asymmetric Encryption - Python

1. How can I generate a public key and a private key in python? 2. How can I use the public key in order to encrypt? 3. How can I use the private key in order to decrypt?

26th Aug 2021, 11:06 AM
Yahel
Yahel - avatar
5 Respostas
0
āœ©āœ®ā˜…āœ®āœ© is the public key being sent over in every packet? Or is it being sent once and then the server saves it in a database?
26th Aug 2021, 12:04 PM
Yahel
Yahel - avatar
0
āœ©āœ®ā˜…āœ®āœ© do you know any other Libraries that can do the same thing but without any need to install them? That they are already built in python? Because I want it to be simple to operate without any need to install extra stuff except of python...
26th Aug 2021, 12:22 PM
Yahel
Yahel - avatar
0
āœ©āœ®ā˜…āœ®āœ© Ok, makes sense. Does it mean that I can't use it in my project? šŸ¤”šŸ˜®
26th Aug 2021, 2:07 PM
Yahel
Yahel - avatar
0
āœ©āœ®ā˜…āœ®āœ© I'm just making an online to-do listšŸ˜‚ nothing to accuse me for :) Thanks for your help
26th Aug 2021, 2:26 PM
Yahel
Yahel - avatar
0
āœ©āœ®ā˜…āœ®āœ© One last question :) How often do public and private keys change? Every time the user logs in? And if they don't change, can I store them in a permanent file and every time the user connects it'll just pull it from there? and how can I validate a public key? in case of the user changing the public key file...
26th Aug 2021, 3:16 PM
Yahel
Yahel - avatar