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
addAnnotationstoKeysetHandle.BuilderandgetAnnotationsOrNulltoKeysetHandle. This allows attaching arbitrary information to aKeysetHandle, which can be useful when one has deep stacks. - A set of accessor methods in
RawJwthas been made public. - Added general support for
ML-DSA-87. - SignaturePemKeysetReader now supports
ML-DSA-65,ML-DSA-87andEd25519. - Added
buildPublicKeysetHandlemethod toSignaturePemKeysetReader.Builder, which replaces the deprecatedbuildmethod.
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",
)