In linux mint 64 bits, use assembly language to write code to encrypt or decrypt a text file. First ask the user if they want to encrypt or decrypt. Then ask the user for the file's path, then ask for an encryption key. The key is a single character. If the user selects encrypt, open and read file, and as your read it, encrypt it and write it to a new file. Read n bytes at a time. If the user choose to decrypt, read that file, as you read it, decrypt it and write it to another new file.



Answer :

Other Questions