Back to Exposed

encryptedBinary

docs/api/exposed-crypt/org.jetbrains.exposed.v1.crypt/encrypted-binary.html

1.2.01.0 KB
Original Source

encryptedBinary

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

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

Parameters

name

Name of the column

cipherByteLength

Maximum expected length of encrypted value in bytes

encryptor

Encryptor responsible for performing encryption and decryption of stored values

Samples

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

Generated by Dokka © 2026 Copyright