Method | Description | |
---|---|---|
Decrypt ( this data, byte key ) : byte[] |
Decrypts bytes encrypted with AES 256
|
|
DecryptAsString ( this data, string key ) : string |
Returns decrypted data from Base64 string
|
|
Encrypt ( this data, byte key ) : byte[] |
Encrypts using AES (Rijndael) standard using a 256 bit key
|
|
Encrypt ( this data, string key ) : string |
Aes encryption
|
public static Decrypt ( this data, byte key ) : byte[] | ||
data | this | |
key | byte | 256bit key |
return | byte[] |
public static DecryptAsString ( this data, string key ) : string | ||
data | this | Base 64 encoded encryption |
key | string | Salt of 16 chars |
return | string |
public static Encrypt ( this data, byte key ) : byte[] | ||
data | this | |
key | byte | |
return | byte[] |
public static Encrypt ( this data, string key ) : string | ||
data | this | |
key | string | |
return | string |