Skip to content

Release 2.0.0

Compare
Choose a tag to compare
@cryptobot cryptobot released this 19 Jul 12:22
2.0.0

Removed APIs

Added APIs

  • Added new DestroyableSecretKey, which is a SecretKey that is both AutoCloseable and Cloneable. It is intended to be used in try-with-resource statements and will destroy itself as soon as it is no longer used. When a copy is needed that should outlive its surrounding scope, it must be explicitly cloned.
  • Added new Masterkey, which is a 512 bit DestroyableSecretKey consisting of two 256 bit keys for encryption and message authentication, as required by Cryptomator's encryption scheme.
  • Introduced new MasterkeyLoader, which allows implementations of custom Masterkey suppliers.

Changed APIs

Misc

  • Added GCM file content encryption (via CryptorProvider.forScheme(SIV_GCM))
  • Added module-info.java
  • Included reflection metadata for GraalVM native images