How can i do Encrypt and decrypt txt file With Python programming ?
|
Python
Encrypt and decrypt txt file |
|
depends on what you need it for.
you can just encode it to base64 or you can use https://pypi.python.org/pypi/pycrypto/2.6.1 Be Nice For Once 15hVUVz7xA4kazHdk2BuErENGCskVwjYXP
(Jan 11, 2018 05:15 AM)HFDone Wrote: depends on what you need it for. Base64 is encoding, not encryption. (Jan 11, 2018 05:16 AM)Payload Wrote: Base64 is encoding, not encryption. try to read it again and you should see why your reply is stupid ❓ Be Nice For Once 15hVUVz7xA4kazHdk2BuErENGCskVwjYXP
Jan 11, 2018 10:33 AM
(This post was last modified: Jan 11, 2018 10:49 AM by TheMarkMan.)
(Jan 11, 2018 10:15 AM)iboyhacker_1997 Wrote: I want for txt file !!!!!!!!!!!!!!! There have been suggestions on how to encrypt a text file. If you want someone to write code for you, then ask. You’ve been suggested to use a module for encryption by another user, albeit for outdated python 2.6. Here is documentation showing how to use the module PyCryptodome (works for Python 3.1) to encrypt text. https://www.pycryptodome.org/en/latest/s...a-with-aes Heres a quick algorithm to help you out. 1. Read the text from the file into a variable 2. Run the string through an encryption module 3. Overwrite the original text file data with the encrypted string variable
Jan 11, 2018 12:04 PM
(This post was last modified: Jan 11, 2018 12:07 PM by HFDone.)
(Jan 11, 2018 05:16 AM)Payload Wrote: Base64 is encoding, not encryption. kid learn to read you think i care about rep 🤣 i will report you for fake rep 😉 im here from 2010 and knows about coding much more then you and the others kids here. Edit - report you for lying Be Nice For Once 15hVUVz7xA4kazHdk2BuErENGCskVwjYXP
|
|
|



![[Image: 4YPLYme.gif]](https://i.imgur.com/4YPLYme.gif)