ImFusion C++ SDK 4.4.0
ImFusion::Cryptography Namespace Reference

Cryptographic tools. More...

Detailed Description

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.

Function Documentation

◆ hashBlake2b()

std::array< uint8_t, 64 > ImFusion::Cryptography::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.

See also
https://www.blake2.net/

◆ cryptoWipe()

void ImFusion::Cryptography::cryptoWipe ( const ByteBufferView & data)

Securely wipe contents of a buffer.

Use it to delete private keys from memory.

Search Tab / S to search, Esc to close