메소드 | 설명 | |
---|---|---|
CryptoManager ( ) : System | ||
DecryptAES ( byte cipheredPayload, CryptoLevel keysize = CryptoLevel.AES256 ) : byte[] |
Decrypts a cyphered key and returns it as clear text
|
|
EncryptAES ( byte clearPayload, CryptoLevel keysize = CryptoLevel.AES256 ) : byte[] |
Encrypts the un-cyphered data as an array of bytes
|
|
GenerateNonce ( |
Generates a random value derived from a set of pre-defined alphanumeric characters.
|
|
SetEncryptionLevel ( CryptoLevel keysize = CryptoLevel.AES256 ) : void |
Sets or resets the encryption level for the encryption instance
|
메소드 | 설명 | |
---|---|---|
ConfigureCryptoInCode ( ) : void |
Loads the crypto properties from hard-coded values. At this time, utilizing an encrypted app.config is not in the specifications.
|
public DecryptAES ( byte cipheredPayload, CryptoLevel keysize = CryptoLevel.AES256 ) : byte[] | ||
cipheredPayload | byte | |
keysize | CryptoLevel | |
리턴 | byte[] |
public EncryptAES ( byte clearPayload, CryptoLevel keysize = CryptoLevel.AES256 ) : byte[] | ||
clearPayload | byte | The un-ciphered data to be encrypted |
keysize | CryptoLevel | |
리턴 | byte[] |
public GenerateNonce ( |
||
length | The length of the random value string | |
리턴 | byte[] |
public SetEncryptionLevel ( CryptoLevel keysize = CryptoLevel.AES256 ) : void | ||
keysize | CryptoLevel | The encryption level as an CryptoLevel enum |
리턴 | void |