Skip to content

aui::crypt#

Cryptography: hashing, HMAC and RSA.

Detailed Description#

aui::crypt is a small module built on top of mbedTLS. It provides:

Results are returned as AByteBuffer, which can be converted to hex or base64 text with toHexString() and toBase64String().

To use the module, link it to your target:

auib_import(aui https://github.com/aui-framework/aui COMPONENTS core crypt VERSION ${AUI_VERSION})
aui_link(${PROJECT_NAME} PRIVATE aui::crypt)

Note

The module does not cover symmetric ciphers (AES etc...), signatures or TLS. HTTPS requests are handled by curl.

  • ARsa


    Stores public and/or private RSA key and encrypts/decrypts data with it.