Encryption

Since v2.1.0

Supports decryption of encrypted values during the processing phase. Values will be decrypted if they start with a certain prefix.

The encryption prefix can be configured via the ARKENV_ENCRYPTION_PREFIX argument. By default, the prefix is {cipher}.

Usage

class Ark : Arkenv("Example", configureArkenv {
    install(Encryption(decryptCipher))
}) {
    val string: String by argument()
}

Since this is a processor feature, any value that is loaded by Arkenv will be considered for decryption.