Tink 1.4.0-rc1
Pre-releaseTink is a multi-language, cross-platform library that provides simple and misuse-proof APIs for common cryptographic tasks.
This is Tink 1.4.0-rc1.
Changes
-
This version introduces support for Python. Tink Python, which is a Pybind11 wrapper of Tink C++, supports all primitives but Streaming AEAD (which will come in 1.5.0). For an overview of using the Tink Python implementation, see the Python HOW-TO. In addition, there are illustrative examples of using Tink Python which can be used as a jumping off point.
-
Tink C++ now tries to erase keys from memory after use.
The complete list of changes since 1.3.0 can be found here. Please note that Tink JavaScript is not a part of this release.
Installation
C++
We no longer offer prebuilt binaries for C++. Please check out this documentation for how to compile your application together with Tink using Bazel or CMake.
Obj-C with CocoaPods
cd /path/to/your/Xcode project/
pod init
pod 'Tink', '1.4.0-rc1'
pod install
Golang
To install Tink locally run:
go get github.com/google/tink/go/...
Python
See setup instructions.
Java with Maven
<dependency>
<groupId>com.google.crypto.tink</groupId>
<artifactId>tink</artifactId>
<version>1.4.0-rc1</version>
</dependency>
Android with Gradle
dependencies {
compile 'com.google.crypto.tink:tink-android:1.4.0-rc1'
}
Known issues
- Tink Obj-C doesn't build. That is, you can't check out Tink Obj-C and build it yourself using Bazel. You can still use it in your apps by installing our prebuilt package, as noted above. We're fixing this.
What's next
1.4.0 final should be out in 1-2 weeks, barring new issues.