commit | 91b739fe18f2eadef477709eb32912a187c9c5b7 | [log] [tgz] |
---|---|---|
author | Anivia Li <aniviali@google.com> | Wed Oct 30 15:34:36 2024 -0700 |
committer | CQ Bot <fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Nov 01 00:10:20 2024 +0000 |
tree | 1ff4fe0bbe21e8a8770ae92dd232c20fbd91721d | |
parent | d2cefbe5a6c44c643147d9c0286bb8f7686ae399 [diff] |
Directly include absl/str_cat.h header This is in prepare of abseil uprev by making a local patch onto our mirror of Tink to directly include absl's str_cat header, for resolving the build failure. We are planning on upreving Abseil-cpp to commit a69b0ae5cdba53a45617afc408618a3e1ac244de[1], which is the baseline commit of LTS20230125[2] where str_cat.h is no longer transitively included in. After upreving Abseil-cpp, Tink in Fuchsia will upreved to upstream/master, where `absl/strings/str_cat.h` is still included in `hpke_context.cc` and `md_util.cc`, and the usage of it in `monitoring_util.h` is removed so we expect the header also get removed. [1] https://github.com/abseil/abseil-cpp/commit/a69b0ae5cdba53a45617afc408618a3e1ac244de [2] https://github.com/abseil/abseil-cpp/releases/tag/20230125.0 Bug: b/374990674 Change-Id: Iab3092f19e50f6c99e913d4e15b211670f20cfee Reviewed-on: https://fuchsia-review.googlesource.com/c/third_party/tink/+/1147751 Reviewed-by: Alex Pankhurst <pankhurst@google.com> Commit-Queue: Anivia Li <aniviali@google.com>
A multi-language, cross-platform library that provides cryptographic APIs that are secure, easy to use correctly, and hard(er) to misuse.
https://developers.google.com/tink
Ubuntu | macOS |
---|---|
Using crypto in your application shouldn't have to feel like juggling chainsaws in the dark. Tink is a crypto library written by a group of cryptographers and security engineers at Google. It was born out of our extensive experience working with Google's product teams, fixing weaknesses in implementations, and providing simple APIs that can be used safely without needing a crypto background.
Tink provides secure APIs that are easy to use correctly and hard(er) to misuse. It reduces common crypto pitfalls with user-centered design, careful implementation and code reviews, and extensive testing. At Google, Tink is one of the standard crypto libraries, and has been deployed in hundreds of products and systems.
To get a quick overview of Tink design please take a look at slides from a talk about Tink presented at Real World Crypto 2019.
Java/Android, C++, Obj-C, Go, and Python are field tested and ready for production. The latest version is 1.7.0, released on 2022-08-09.
Javascript/Typescript is in an alpha state and should only be used for testing.
Documentation for the project is located at https://developers.google.com/tink. Currently, it details a variety of common usage scenarios and covers the Java and Python implementations. The site will be populated with more content over time.
Alternatively, you can look at all of the examples
which demonstrate performing simple tasks using Tink in a variety of languages.
pip3 install tink
go get github.com/google/tink/go/...
<dependency> <groupId>com.google.crypto.tink</groupId> <artifactId>tink</artifactId> <version>1.7.0</version> </dependency>
dependencies { implementation 'com.google.crypto.tink:tink-android:1.7.0' }
cd /path/to/your/Xcode project/ pod init pod 'Tink', '1.7.0' pod install
Out of the box Tink supports a wide range of languages, but it still doesn‘t support every language. Fortunately, some users like Tink so much that they’ve ported it to their favorite languages! Below you can find notable ports.
WARNING While we usually review these ports, until further notice, we do not maintain them and have no plan to support them in the foreseeable future.
If you want to contribute, please read CONTRIBUTING and send us pull requests. You can also report bugs or file feature requests.
If you'd like to talk to the developers or get notified about major product updates, you may want to subscribe to our mailing list.
Tink is maintained by (A-Z):
Alumni: