Class CryptHelper.RC2
- Namespace
- SunamoCrypt
- Assembly
- SunamoCrypt.dll
Designed by Ronald R. Rivest in 1987 which designed another: RC4, RC5, RC6 In 1996 was source code published, the same as in RC4 then use is not recomended
public class CryptHelper.RC2 : ICrypt
- Inheritance
-
CryptHelper.RC2
- Implements
- Inherited Members
- Extension Methods
Properties
InitializationVector
Initialization vector for encryption
public List<byte> InitializationVector { get; set; }
Property Value
Passphrase
Passphrase for encryption
public string Passphrase { get; set; }
Property Value
Salt
Salt value for encryption
public List<byte> Salt { get; set; }
Property Value
Methods
Decrypt(string)
Decrypts the specified text
public string Decrypt(string text)
Parameters
textstringText to decrypt
Returns
- string
Decrypted text
Encrypt(string)
Encrypts the specified text
public string Encrypt(string text)
Parameters
textstringText to encrypt
Returns
- string
Encrypted text