# CryptoCipherParameters

`import { CryptoCipherParameters } from "destack:crypto/binding";`

Cipher parameters.

```ds title="CryptoCipherParameters"
export struct CryptoCipherParameters<'a> {
    algorithm: CryptoCipherAlgorithm;
    nonce: &'a readonly [uint8];
    additionalData: &'a readonly [uint8];
    tag: &'a readonly [uint8];
    tagLength: uint32;
}
```

[language/library/src/crypto/binding/cipher.ds:20:31](https://github.com/destack-sh/destack/blob/main/language/library/src/crypto/binding/cipher.ds#L20-L31)

## Members

### `algorithm: CryptoCipherAlgorithm`

Symmetric 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: uint32`

Authentication tag length in bytes for encryption.
