-2

Possible Duplicate:
python: how to encrypt a file?

I'm trying to make application that need write secret data in file and allow read data from this file with only user password. do you know any methods for encode/decode file with pass phrase?

0

3 Answers 3

2

You can try PyCrypto module.

However, due to the poor documentation and no official tutorials, you may wish also to see how to encrypt files with AES.

Sign up to request clarification or add additional context in comments.

Comments

1

You never considered using Google before asking?
The official documentation has a bunch of tutorials regarding hashing and encryption.

Comments

0

The best-known cryptographic library for Python is PyCrypto. To read in a password in the console, use the getpass module included with Python.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.