menu
CryptoCipherParameters
import { CryptoCipherParameters } from "destack:crypto/binding";
Cipher parameters.
1export struct CryptoCipherParameters<'a> {2 algorithm: CryptoCipherAlgorithm;3 nonce: &'a readonly [uint8];4 additionalData: &'a readonly [uint8];5 tag: &'a readonly [uint8];6 tagLength: uint32;7}Members
algorithm: CryptoCipherAlgorithmSymmetric cipher algorithm.
nonce: &'a readonly [uint8]Nonce or IV bytes.
additionalData: &'a readonly [uint8]Additional authenticated data bytes.
tag: &'a readonly [uint8]Authentication tag bytes for decryption.
tagLength: uint32Authentication tag length in bytes for encryption.