View Single Post
Old 11-29-2007   #5 (permalink)
Karl Prosser[MVP]


 
 

Re: Encrypting files?

the dotnet framework has RSA and other agorithms in there, just google.
I can't remember off hand what the namespace is, but its just a few
lines of code in C# or powershell to read in a stream of a file, run the
RSA algoritm over it, and then write out to a stream.

Sincerely,
Karl Prosser
http://www.powershell.com

Jarod wrote:
Quote:

> Hi!
>
> I need a script to encrypt / decrypt file using some good algorithm like RSA
> or sth like this. It's for home use.
>
> For example I would have script that needs password and file name on a start
> and than encrypts or decrypts file.
>
> Woudl be cool if it could recognize extension eg. .enc would be encrypted so
> if file name is passwords.enc than it decrypts it.
>
> RSA algorithm is available through .net classes ( it can be any other
> algorithm if you know better one).
>
> I just feel it would be good to have some extra privacy.
>
> Jedrzej
My System SpecsSystem Spec