Classic ASP Framework
org.classicasp.util.CryptUtilEx

[STATIC] Encryption/Decryption utilities.

Summary

Decrypts a string using an implementation of the AES Rijndael Block Cipher.
Encrypts a string using an implementation of the AES Rijndael Block Cipher.
Decrypts a string using an implementation of the RSA 'RC4' Encryption.
Encrypts a string using an implementation of the RSA 'RC4' Encryption.

Aes_Decrypt

Public Function Aes_Decrypt(
ByVal sCypher,
ByVal sPassword)
Decrypts a string using an implementation of the AES Rijndael Block Cipher.

Returns

StringEx

Example

		
	  Set myVar = CryptUtilEx.Aes_Decrypt("cyphertext", "password")
	  

Aes_Encrypt

Public Function Aes_Encrypt(
ByVal sPlain,
ByVal sPassword)
Encrypts a string using an implementation of the AES Rijndael Block Cipher.

Returns

StringEx

Example

		
	  Set myVar = CryptUtilEx.Aes_Encrypt("plaintext", "password")
	  

Rc4_Decrypt

Public Function Rc4_Decrypt(
ByVal sCypher,
ByVal sPassword)
Decrypts a string using an implementation of the RSA 'RC4' Encryption.

Returns

StringEx

Example

		
	  Set myVar = CryptUtilEx.Rc4_Decrypt("cyphertext", "password")
	  

Rc4_Encrypt

Public Function Rc4_Encrypt(
ByVal sPlain,
ByVal sPassword)
Encrypts a string using an implementation of the RSA 'RC4' Encryption.

Returns

StringEx

Example

		
	  Set myVar = CryptUtilEx.Rc4_Encrypt("plaintext", "password")
	  

'***ClassicASP.org
'Copyright 2010 ClassicASP.org

'This file is part of ClassicASP Framework.

'ClassicASP-Framework is free software: you can redistribute it and/or modify
'it under the terms of the GNU General Public License as published by
'the Free Software Foundation, version 3 of the License.

'ClassicASP-Framework is distributed in the hope that it will be useful,
'but WITHOUT ANY WARRANTY; without even the implied warranty of
'MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
'GNU General Public License for more details.

'You should have received a copy of the GNU General Public License
'along with ClassicASP-Framework. If not, see .

'For additional information please visit .