# encryptedVarchar

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

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

#### Parameters

name

Name of the column

cipherTextLength

Maximum expected length of encrypted value

encryptor

Encryptor responsible for performing encryption and decryption of stored values

#### Samples

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