---
schema_version: "1"
id: fcbd992948599873d2455217bb0ac00525c23b10b323de9e6280b1332274d1cb
title: Cryptography Module - Additional Configuration
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/cryptography-module/2.0/cryptography-module-additional-configuration.md
canonical_url: https://docs.mulesoft.com/cryptography-module/2.0/cryptography-module-additional-configuration
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 6883c5d55f3a64122a085077792d26a10050792540cb1ab781b31ab633a45907
description: MuleSoft Documentation Site
release: "2.0"
latest: false
---
---
product: Cryptography Module
version: 2.0
---

# Cryptography Module - Additional Configuration

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

After you complete basic Cryptography Module configuration, you can perform additional configuration
tasks.

## Configure Use Random Initialization Vectors

Configure the **Use random IVs** field to use random initialization vectors (IVs). If you configure
this field, the decryption algorithm expects the IVs to be added to the beginning of the ciphertext
during decryption.

Follow these steps for the configuration:

1.  In Anypoint Studio, drag a Cryptography Module operation to your flow, for example **Jce sign**.

2.  Select the operation from the flow.

3.  In the operation configuration screen, click the plus sign to access the module global
    configuration.

4.  In the **Global Element Properties** window, enable the **Use random IVs** field.

![A configuration setting for Crypto JCE with options for keystore and random IV usage](/mulesoft/current/en-us/cryptography-module/2.0/_images/crypto-random-iv.png)

In the **XML editor** window, the configuration looks like this:

```xml
crypto:jce-config name="Crypto_Jce" doc:name="Crypto Jce" keystore="/Users/MuleSoft/Desktop/jcekeystore.jks" password="mulesoft" useRandomIVs="true">
		<crypto:jce-key-infos >
			<crypto:jce-symmetric-key-info keyId="key100" alias="jceclient100" password="mulesoft" />
		</crypto:jce-key-infos>
	</crypto:jce-config>
```

## See Also

- [Cryptography Module Examples](https://docs.mulesoft.com/cryptography-module/2.0/cryptography-module-examples)

- [Cryptography Module Reference 2.0](https://docs.mulesoft.com/cryptography-module/2.0/cryptography-module-reference)
