Back to Exposed

Package-level declarations

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

1.2.05.2 KB
Original Source

Package-level declarations

TypesFunctions

Types

Algorithms

Link copied to clipboard

object Algorithms

Symmetric-key block ciphers for performing encryption and decryption.

ByteArrayEncryptionTransformer

Link copied to clipboard

class ByteArrayEncryptionTransformer(encryptor: Encryptor) : ColumnTransformer<ByteArray, ByteArray>

EncryptedBinaryColumnType

Link copied to clipboard

class EncryptedBinaryColumnType(encryptor: Encryptor, length: Int) : ColumnWithTransform<ByteArray, ByteArray>

Binary column for storing encrypted binary strings of a specific length, using the provided encryptor.

EncryptedVarCharColumnType

Link copied to clipboard

class EncryptedVarCharColumnType(encryptor: Encryptor, colLength: Int) : ColumnWithTransform<String, String>

Character column for storing encrypted strings, using the provided encryptor, with the specified maximum colLength.

Encryptor

Link copied to clipboard

class Encryptor(val encryptFn: (String) -> String, val decryptFn: (String) -> String, val maxColLengthFn: (Int) -> Int)

Base cipher class responsible for the encryption and decryption of data.

StringEncryptionTransformer

Link copied to clipboard

class StringEncryptionTransformer(encryptor: Encryptor) : ColumnTransformer<String, String>

Functions

encryptedBinary

Link copied to clipboard

fun Table.encryptedBinary(name: String, cipherByteLength: Int, encryptor: Encryptor): Column<ByteArray>

Creates a binary column, with the specified name, for storing encrypted binary strings.

encryptedVarchar

Link copied to clipboard

fun Table.encryptedVarchar(name: String, cipherTextLength: Int, encryptor: Encryptor): Column<String>

Creates a character column, with the specified name, for storing encrypted strings.

Generated by Dokka © 2026 Copyright