.NET Encryption Library Usage
//Instantiate the Kellerman Encryption Library
Encryption oEncrypt = new Encryption (); string encryptedString = oEncrypt.EncryptString( EncryptionProvider .Rijndael, "MyPasswordKey" , "4012888818888" ); oEncrypt.EncryptFile( EncryptionProvider .Rijndael, "MyPasswordKey" , "c:\\testfile.txt" , "c:\\encrypted.txt" );
oEncrypt.DecryptFile( EncryptionProvider .Rijndael, "MyPasswordKey" , "c:\\encrypted.txt" , "c:\\decrypted.txt" ); oEncrypt.HashString( HashProvider .HAVAL, "SecretPassword" );
oEncrypt.CompressFile( CompressionType .GZip, "c:\\testfile.txt" , "c:\\testfile.gz" );
oEncrypt.DecompressFile( CompressionType .GZip, "c:\\testfile.gz" , "c:\\decompressed.txt" ); oEncrypt.SecureFileErase( "c:\\decompressed.txt" );
