Click or drag to resize

CryptoUtilsDecryptAesV2 Method

Decrypts with AES GCM.

Namespace: KeeperSecurity.Utils
Assembly: KeeperSdk (in KeeperSdk.dll) Version: 1.0.5-beta11
Syntax
C#
public static byte[] DecryptAesV2(
	byte[] data,
	byte[] key,
	int nonceLength = 12
)

Parameters

data  Byte
encrypted data
key  Byte
AES encryption key.
nonceLength  Int32  (Optional)
Nonce length. Optional. Default: 12 bytes.

Return Value

Byte
Plain data.
Exceptions
ExceptionCondition
ExceptionCannot be decrypted.
See Also