---
schema_version: "1"
id: fdebf898d2795723d600be9ca623d9e5ef15e9a13c56182cfecddff22de19962
title: Cryptography Module - Additional Configuration
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/cryptography-module/latest/cryptography-module-additional-configuration.md
canonical_url: https://docs.mulesoft.com/cryptography-module/latest/cryptography-module-additional-configuration
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 9e1dcbfac5a4a5fea5b3f8db04eca4228dd44306d83c2bfff04284818c35ac0d
description: MuleSoft Documentation Site
release: "2.2"
latest: true
---
---
product: Cryptography Module
version: 2.2
is-latest-version: true
---

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

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