jplanglais
jplanglais

Reputation: 77

VB.NET: Saving text directly as encrypted file, without conversion

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

Answers (1)

naacal
naacal

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

Related Questions