![]() |
ImFusion SDK 4.3
|
Cryptographic tools. More...
Cryptographic tools.
Namespaces | |
namespace | MonoCypher |
The MonoCypher encryption API is based on the Monocypher library: https://monocypher.org/. | |
Functions | |
std::array< uint8_t, 64 > | hashBlake2b (const ByteBufferView &message) |
Creates a 64 byte hash from a message using Blake2b. | |
void | cryptoWipe (const ByteBufferView &data) |
Securely wipe contents of a buffer. | |
std::array< uint8_t, 64 > hashBlake2b | ( | const ByteBufferView & | message | ) |
Creates a 64 byte hash from a message using Blake2b.
This hashing algorithm can be considered reasonably safe for most cryptographic applications while at the same time being faster than MD5 or SHA-family of algorithms.
void cryptoWipe | ( | const ByteBufferView & | data | ) |
Securely wipe contents of a buffer.
Use it to delete private keys from memory.