Table of Contents

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

List<byte>

Passphrase

Passphrase for encryption

public string Passphrase { get; set; }

Property Value

string

Salt

Salt value for encryption

public List<byte> Salt { get; set; }

Property Value

List<byte>

Methods

Decrypt(string)

Decrypts the specified text

public string Decrypt(string text)

Parameters

text string

Text to decrypt

Returns

string

Decrypted text

Encrypt(string)

Encrypts the specified text

public string Encrypt(string text)

Parameters

text string

Text to encrypt

Returns

string

Encrypted text