What’s New

Tink v1.21.0

v1.21.0

Tink Java v1.21.0

Added 4
  • Added methods addAnnotations to KeysetHandle.Builder and getAnnotationsOrNull to KeysetHandle for attaching arbitrary information to a KeysetHandle
  • Made a set of accessor methods in RawJwt public
  • Added general support for ML-DSA-87
  • Added buildPublicKeysetHandle method to SignaturePemKeysetReader.Builder
Changed 1
  • SignaturePemKeysetReader now supports ML-DSA-65, ML-DSA-87 and Ed25519
Deprecated 1
  • Deprecated build method in SignaturePemKeysetReader.Builder in favor of buildPublicKeysetHandle

Tink is a multi-language, cross-platform library that provides simple and misuse-proof APIs for common cryptographic tasks.

This is Tink Java 1.21.0

The complete list of changes since 1.20.0 can be found here.

  • Added methods addAnnotations to KeysetHandle.Builder and getAnnotationsOrNull to KeysetHandle. This allows attaching arbitrary information to a KeysetHandle, which can be useful when one has deep stacks.
  • A set of accessor methods in RawJwt has been made public.
  • Added general support for ML-DSA-87.
  • SignaturePemKeysetReader now supports ML-DSA-65, ML-DSA-87 and Ed25519.
  • Added buildPublicKeysetHandle method to SignaturePemKeysetReader.Builder, which replaces the deprecated build method.
Maven:
<dependency>
    <groupId>com.google.crypto.tink</groupId>
    <artifactId>tink</artifactId>
    <version>1.21.0</version>
</dependency>
Gradle:
dependencies {
  implementation 'com.google.crypto.tink:tink-android:1.21.0'
}
Bazel:
Using bzlmod
bazel_dep(name = "tink_java")

git_override(
    module_name = "tink_java",
    remote = "https://github.com/tink-crypto/tink-java",
    tag = "v1.21.0",
)
View original

Discussion