# Algorithms

object Algorithms

Symmetric-key block ciphers for performing encryption and decryption.

#### Samples

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

## 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.