---
schema_version: "1"
id: 9d7015adfd6ec53caaf10da6b137125d2f8b20612ab9d585bce47c1ff096e0ae
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.1/cryptography-module-additional-configuration.md
canonical_url: https://docs.mulesoft.com/cryptography-module/2.1/cryptography-module-additional-configuration
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 7fe44db0853966182da1e96cbdf93fb58200e00bdd1fb4185b52894895376b60
description: MuleSoft Documentation Site
release: "2.1"
latest: false
---
---
product: Cryptography Module
version: 2.1
---

# 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.1/_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.1/cryptography-module-examples)

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