Метод | Описание | |
---|---|---|
AESDecrypt ( byte input, byte key, byte iv ) : byte[] |
Decrypts an input byte array using AES/CBC/PKCS7 with a given key and IV
|
|
AESEncrypt ( byte input, byte key, byte iv ) : byte[] |
Encrypts using AES/CBC/PKCS7 an input byte array with a given key and IV
|
|
AdlerHash ( byte input ) : byte[] |
Performs an Adler32 on the given input
|
|
CRCHash ( byte input ) : byte[] |
Performs CRC32 on an input byte array using the CrcStandard.Crc32Bit parameters
|
|
GenerateRandomBlock ( int size ) : byte[] |
Generate an array of random bytes given the input length
|
|
JenkinsHash ( byte input ) : byte[] |
Performs the Jenkins hash on an input byte array
|
|
SHAHash ( byte input ) : byte[] |
Performs an SHA1 hash of an input byte array
|
|
SymmetricDecrypt ( byte input, byte key ) : byte[] |
Decrypts using AES/CBC/PKCS7 with an input byte array and key, using the random IV prepended using AES/ECB/None
|
|
SymmetricEncrypt ( byte input, byte key ) : byte[] |
Performs an encryption using AES/CBC/PKCS7 with an input byte array and key, with a random IV prepended using AES/ECB/None
|
public static AESDecrypt ( byte input, byte key, byte iv ) : byte[] | ||
input | byte | |
key | byte | |
iv | byte | |
Результат | byte[] |
public static AESEncrypt ( byte input, byte key, byte iv ) : byte[] | ||
input | byte | |
key | byte | |
iv | byte | |
Результат | byte[] |
public static AdlerHash ( byte input ) : byte[] | ||
input | byte | |
Результат | byte[] |
public static CRCHash ( byte input ) : byte[] | ||
input | byte | |
Результат | byte[] |
public static GenerateRandomBlock ( int size ) : byte[] | ||
size | int | |
Результат | byte[] |
public static JenkinsHash ( byte input ) : byte[] | ||
input | byte | |
Результат | byte[] |
public static SHAHash ( byte input ) : byte[] | ||
input | byte | |
Результат | byte[] |
public static SymmetricDecrypt ( byte input, byte key ) : byte[] | ||
input | byte | |
key | byte | |
Результат | byte[] |
public static SymmetricEncrypt ( byte input, byte key ) : byte[] | ||
input | byte | |
key | byte | |
Результат | byte[] |