NextGen Knowledge Center

Encryption Settings

You can change the default encryption settings for Mirth® Connect as you see fit. The following can be set in mirth.properties:

PropertyDefault ValueDescription
encryption.algorithmAES/CBC/PKCS5Padding

The algorithm to use for symmetric encryption. This applies to messages, exports, and anything that is used along with the keystore to encrypt / decrypt.

You must include the explicit mode and padding settings with the algorithm. The mode must also require an initialization vector.

encryption.charsetUTF-8The charset to use when encoding textual data into bytes before encryption.
encryption.keylength128The key length to use for symmetric encryption.
digest.algorithmSHA256The algorithm to use for generating cryptographically secure hashes / digests. This is used for creating salted hash values for user passwords. If you change this, all current passwords will no longer be valid, and will have to be reset by an administrator.
security.providerorg.bouncycastle.jce.

provider.BouncyCastleProvider

The fully-qualified JCE/JCA provider class name to use. This provider is used for both symmetric encryption and password hashing.