Skip to content

Tink Java Apps 1.10.0

Latest
Compare
Choose a tag to compare
@morambro morambro released this 29 Sep 13:25
· 17 commits to main since this release

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

Tink Java Apps is a collection of plugins for Tink.

This is Tink Java Apps 1.10.0.

What's new

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

  • Updated dependencies:
    • tink-java => 1.11.0
    • google-http-client => 1.43.3
    • error-prone-annotations => 2.22.0

Future work

To see what we're working towards, check our project roadmap.

Get Started

To get started using Tink, see the setup guide.

Maven:

<dependency>
    <groupId>com.google.crypto.tink</groupId>
    <artifactId>apps-webpush</artifactId>
    <version>1.10.0</version>
</dependency>

<dependency>
    <groupId>com.google.crypto.tink</groupId>
    <artifactId>apps-paymentmethodtoken</artifactId>
    <version>1.10.0</version>
</dependency>

<dependency>
    <groupId>com.google.crypto.tink</groupId>
    <artifactId>apps-rewardedads</artifactId>
    <version>1.10.0</version>
</dependency>

Bazel:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

RULES_JVM_EXTERNAL_TAG = "4.5"
RULES_JVM_EXTERNAL_SHA ="b17d7388feb9bfa7f2fa09031b32707df529f26c91ab9e5d909eb1676badd9a6"

http_archive(
    name = "rules_jvm_external",
    strip_prefix = "rules_jvm_external-%s" % RULES_JVM_EXTERNAL_TAG,
    sha256 = RULES_JVM_EXTERNAL_SHA,
    url = "https://github.com/bazelbuild/rules_jvm_external/archive/refs/tags/%s.zip" % RULES_JVM_EXTERNAL_TAG,
)

load("@rules_jvm_external//:repositories.bzl", "rules_jvm_external_deps")

rules_jvm_external_deps()

load("@rules_jvm_external//:setup.bzl", "rules_jvm_external_setup")

rules_jvm_external_setup()

load("@rules_jvm_external//:defs.bzl", "maven_install")

maven_install(
    artifacts = [
        "com.google.crypto.tink:apps-webpush:1.10.0",
        "com.google.crypto.tink:apps-paymentmethodtoken:1.10.0",
        "com.google.crypto.tink:apps-rewardedads:1.10.0",
        # ... other dependencies ...
    ],
    repositories = [
        "https://maven.google.com",
        "https://repo1.maven.org/maven2",
    ],
)