Back to Exposed

NullableHashingTransformer

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

1.5.01.4 KB
Original Source

NullableHashingTransformer

class NullableHashingTransformer(val hasher: Hasher) : ColumnTransformer<String?, Hashed?>

Transformer that behaves like HashingTransformer but passes null through untouched, for use with nullable character columns.

Members

Constructors

NullableHashingTransformer

Link copied to clipboard

constructor(hasher: Hasher)

Properties

hasher

Link copied to clipboard

val hasher: Hasher

Hasher this transformer hashes with, and verifies the values it reads against.

Functions

unwrap

Link copied to clipboard

open override fun unwrap(value: Hashed?): String?

wrap

Link copied to clipboard

open override fun wrap(value: String?): Hashed?

Generated by Dokka © 2026 Copyright