I'm planning on creating a simple password manager program. For the program I'm going to have an encrypted file which will the store the user's passwords. What is the most secure and best encryption module?
cheers :)
I'm planning on creating a simple password manager program. For the program I'm going to have an encrypted file which will the store the user's passwords. What is the most secure and best encryption module?
cheers :)
sha is decent, I think.
Here's a simple example:
>>> import sha
>>> pwd = "Thingy3!2" # Not remotely related to my real pwd's
>>> my_encrypt = sha.new(pwd)
>>> my_encrypt.hexdigest()
'1f10b40bb3bf2c3493ae9b151549a6526c69b79d'
>>> dir(my_encrypt)
['__class__', '__delattr__', '__doc__', '__getattribute__', '__hash__', '__init__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__str__', 'block_size', 'copy', 'digest', 'digest_size', 'digestsize', 'hexdigest', 'name', 'update']
Hope that helps,
Jeff
P.S. SHA-1 is technically "broken" as of 2005 (see http://www.pcworld.com/article/id,119726-page,1/article.html), but I'm not aware of any practical exploits.
Jeff
Thanks for the posts. Ill check SHA out.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.