class final readonly Core · pdftoolkit/pdf 0.12.4

PDF\Security\AesGcmCipher
TS 32003 5.2: 256-bit key, nil AAD, 12-byte IV and 16-byte authentication tag.

Read the source declaration ↗

Inheritance and contracts

This type declares no parent, interface or trait.

Declared methods

decrypt()

public function decrypt(string $encrypted, PDF\Security\FileEncryptionKey $key): string

Declared by PDF\Security\AesGcmCipher · View the code ↗

encrypt()

public function encrypt(string $plain, PDF\Security\FileEncryptionKey $key, string $nonce): string

Declared by PDF\Security\AesGcmCipher · View the code ↗