Skip to contents

Cryptographic functions over raw vectors, including message digests of in-memory data, files and connections, keyed-hash message authentication codes (HMAC), Advanced Encryption Standard (AES) encryption, constant-time comparison and hexadecimal encoding, backed by a bundled and pinned copy of the 'Mbed TLS' project's cryptography library, 'TF-PSA-Crypto' (https://github.com/Mbed-TLS/TF-PSA-Crypto). No system cryptographic library, 'Java' or 'Python' is required at install or run time. Algorithm names are matched exactly, and failures are reported as structured conditions. The same primitives, and secure erasure of native buffers, are published to other packages as a static archive and as a registered C interface, so that a package can call them from C without going through R.

Author

Maintainer: Pedro Baltazar pedrobtz@gmail.com [copyright holder]

Authors:

Other contributors:

  • The Mbed TLS Contributors (TF-PSA-Crypto, bundled in src/vendor/tf-psa-crypto) [copyright holder]

  • Adriaan de Jong (author of TF-PSA-Crypto's cipher and message-digest layers) [contributor, copyright holder]

  • Daniel King (author of TF-PSA-Crypto's ChaCha20, Poly1305 and ChaCha20-Poly1305 headers) [contributor, copyright holder]

  • Simon Tatham (author of the Arm-accelerated SHA-512 code, from PuTTY) [contributor, copyright holder]