Back to Exposed

Algorithms

docs/api/exposed-crypt/org.jetbrains.exposed.v1.crypt/-algorithms/index.html

1.2.01.9 KB
Original Source

Algorithms

object Algorithms

Symmetric-key block ciphers for performing encryption and decryption.

Samples

org.jetbrains.exposed.v1.crypt.EncryptedColumnTests.testEncryptedColumnTypeWithAString

Members

Functions

AES_256_PBE_CBC

Link copied to clipboard

fun AES_256_PBE_CBC(password: CharSequence, salt: CharSequence): Encryptor

Returns an Encryptor that uses AES encryption with its cipher algorithm set to CBC mode.

AES_256_PBE_GCM

Link copied to clipboard

fun AES_256_PBE_GCM(password: CharSequence, salt: CharSequence): Encryptor

Returns an Encryptor that uses AES encryption with its cipher algorithm set to GCM mode.

BLOW_FISH

Link copied to clipboard

fun BLOW_FISH(key: CharSequence): Encryptor

Returns an Encryptor that uses a Blowfish algorithm.

TRIPLE_DES

Link copied to clipboard

fun TRIPLE_DES(secretKey: CharSequence): Encryptor

Returns an Encryptor that uses a Triple DES algorithm.

Generated by Dokka © 2026 Copyright