I want to do an encryption and a decryption scripts with Pycripto using public/private keys. I know asymmetric encryption is super expensive in use of resources, but I intend to encrypt and decrypt a text file with some passwords (let's say 200-300 characters in total). I've done some research but I could only find how to encrypt and decrypt little short strings.
In case that's not possible/convenient, would you recommend using mixed encryption? I mean using asymmetric to "securely transfer the pass phrase " and the decrypting the rest with symmetric.
I intend to have the encrypted file in the cloud, so I can download it everywhere I am. To decrypt, I'll have a USB flash drive I take everywhere I go. In the USB I should have my private key, and the decryption script. I plan to decrypt "inside the USB" so the decrypted file is never stored in any computer.
Is that possible?
Thanks!