Skip to content

Releases: ekino/hibernate-crypto-types

1.2.1

09 Oct 13:48
Compare
Choose a tag to compare

Changelog

  • Fix thread-safe issue

Encryption/Decryption is not thread-safe #14

Release of 1.2.0

06 Aug 08:40
Compare
Choose a tag to compare

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

11 Feb 09:27
Compare
Choose a tag to compare
feat: release 1.1.0

release of 1.0.0

29 Nov 09:03
Compare
Choose a tag to compare
Release 1.0.0