Encryption

Apply RSA encryption techniques along with AES symmetric encryption

Objective

Joule combines RSA encryption with AES symmetric encryption to achieve the security of RSA with the performance of AES.

Session based keys are generated on Joule process startup with the ability to rotate keys on subsequent process restarts.

Example & DSL attributes

obfuscation:
  name: addressEncryption
  fields:
    address:
      encryption:
        decrypt: false
        key location: /tmp
        aes bit length: 128
        rsa bit length: 2048
        rotate keys: true

Attributes schema

Attribute
Description
Data Type
Required

aes bit length

Number of bits for the encryption key to be used. Supported bit sizes: 128, 192 and 256

Integer

Default: 128

RSA bit length

Number of bits for the encryption key to be used. Number of bits must be >= 2048

Integer

Default: 2048

decrypt

Boolean to inform process to either decrypt or encrypt field value

Boolean

Default: false

key location

Location to store encryption keys

String

rotate keys

Automatically refresh encryption keys on process restart

Boolean

Deault: true

Last updated