Reputation: 77
I'm looking for a way to save text directly to an encrypted file, without saving it to a plain text file and encrypt this text file afterwards.
I don't care about the encryption type used as long as it is easy to implement and secure enough..
Preferably in VB.NET
Upvotes: 0
Views: 1080
Reputation: 620
Use the encryption algorithm of your choice from the System.Security.Cryptography namespace and encrypt the string before writing it into the text file.
Upvotes: 3