Releases: ekino/hibernate-crypto-types
Releases · ekino/hibernate-crypto-types
1.2.1
Release of 1.2.0
Changelog
New encrypted-text-with-salt
type
The new encrypted-text-with-salt
allows you to encrypt a simple text column with a random salt to avoid "data deduction" by having the same value encrypted with the same result. This way, a given value will never be encrypted with the same output.
Add this new type to your type definitions:
@TypeDefs(
// ...
TypeDef(name = "encrypted-text-with-salt", typeClass = EncryptedStringWithSaltType::class)
)
And use it on your entity String
field:
@Entity
class MyEntity {
@Type(type = "encrypted-text-with-salt")
@Column(columnDefinition = "encrypted-text-with-salt")
var simpleValue: String? = null
}
release of 1.1.0
feat: release 1.1.0
release of 1.0.0
Release 1.0.0