Метод | Описание | |
---|---|---|
CalculateKeccakHash ( byte value ) : byte[] | ||
Decrypt ( byte mac, byte iv, byte cipherText, byte derivedKey ) : byte[] | ||
DecryptPbkdf2Sha256 ( string password, byte mac, byte iv, byte cipherText, int c, byte salt, int dklen ) : byte[] | ||
DecryptScrypt ( string password, byte mac, byte iv, byte cipherText, int n, int p, int r, byte salt, int dklen ) : byte[] | ||
GenerateAesCtrCipher ( byte iv, byte encryptKey, byte input ) : byte[] | ||
GenerateCipherKey ( byte derivedKey ) : byte[] | ||
GenerateDerivedScryptKey ( byte password, byte salt, int n, int r, int p, int dkLen ) : byte[] | ||
GenerateMac ( byte derivedKey, byte cipherText ) : byte[] | ||
GeneratePbkdf2Sha256DerivedKey ( byte password, byte salt, int count, int dklen ) : byte[] | ||
GetPasswordAsBytes ( string password ) : byte[] |
Метод | Описание | |
---|---|---|
ValidateMac ( byte mac, byte cipherText, byte derivedKey ) : void |
public CalculateKeccakHash ( byte value ) : byte[] | ||
value | byte | |
Результат | byte[] |
public Decrypt ( byte mac, byte iv, byte cipherText, byte derivedKey ) : byte[] | ||
mac | byte | |
iv | byte | |
cipherText | byte | |
derivedKey | byte | |
Результат | byte[] |
public DecryptPbkdf2Sha256 ( string password, byte mac, byte iv, byte cipherText, int c, byte salt, int dklen ) : byte[] | ||
password | string | |
mac | byte | |
iv | byte | |
cipherText | byte | |
c | int | |
salt | byte | |
dklen | int | |
Результат | byte[] |
public DecryptScrypt ( string password, byte mac, byte iv, byte cipherText, int n, int p, int r, byte salt, int dklen ) : byte[] | ||
password | string | |
mac | byte | |
iv | byte | |
cipherText | byte | |
n | int | |
p | int | |
r | int | |
salt | byte | |
dklen | int | |
Результат | byte[] |
public GenerateAesCtrCipher ( byte iv, byte encryptKey, byte input ) : byte[] | ||
iv | byte | |
encryptKey | byte | |
input | byte | |
Результат | byte[] |
public GenerateCipherKey ( byte derivedKey ) : byte[] | ||
derivedKey | byte | |
Результат | byte[] |
public GenerateDerivedScryptKey ( byte password, byte salt, int n, int r, int p, int dkLen ) : byte[] | ||
password | byte | |
salt | byte | |
n | int | |
r | int | |
p | int | |
dkLen | int | |
Результат | byte[] |
public GenerateMac ( byte derivedKey, byte cipherText ) : byte[] | ||
derivedKey | byte | |
cipherText | byte | |
Результат | byte[] |
public GeneratePbkdf2Sha256DerivedKey ( byte password, byte salt, int count, int dklen ) : byte[] | ||
password | byte | |
salt | byte | |
count | int | |
dklen | int | |
Результат | byte[] |
public GetPasswordAsBytes ( string password ) : byte[] | ||
password | string | |
Результат | byte[] |