Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

AesGcm.Decrypt Method

Namespace: Rebex.Security.Cryptography
Assembly: Rebex.Security.dll (version 7.0.9147)

Decrypt(Byte[], Byte[], Byte[], Byte[], Byte[])

Decrypts ciphertext data and validates the authentication tag.

Declaration
public void Decrypt(byte[] nonce, byte[] ciphertext, byte[] authTag, byte[] plaintext, byte[] additionalAuthData = null)
Parameters
Type Name Description
Byte[] nonce

The nonce associated with this message, which was used during encryption.

Byte[] ciphertext

The encrypted data to decrypt.

Byte[] authTag

The authentication tag computed for this message during encryption.

Byte[] plaintext

The byte array to store the decrypted data to.

Byte[] additionalAuthData

Additional authenticated data (AAD) associated with this message, which was used during encryption.

In This Article
  • Decrypt(Byte[], Byte[], Byte[], Byte[], Byte[])
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies