Use Conscrypt implementation of X25519 in HPKE, if it is available. Android uses Conscrypt and has support since API level 31. This increases the performance by a factor of 3-5, and also lowers the memory usage. PiperOrigin-RevId: 691378379 Change-Id: Ic1e86a0be97d84655479258ea4dae4976e5fe452
| Test | GCP Ubuntu | MacOS |
|---|---|---|
| Bazel | ||
| Maven | N/A |
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's design please take a look at Tink's goals.
The official documentation is available at https://developers.google.com/tink.
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: