1
$\begingroup$

Facebook plan a new cryptocurrency release called Diem. What algorithms are used? What output size is used for the hash function?

$\endgroup$
0
2
$\begingroup$

I think all the useful informations are here :

https://github.com/diem/diem/tree/main/crypto/crypto

Citation : "SHA-3 as the main hash function. It is standardized in FIPS 202. It is based on the tiny_keccak library.

HKDF: HMAC-based Extract-and-Expand Key Derivation Function (HKDF) based on RFC 5869. It is used to generate keys from a salt (optional), seed, and application-info (optional). traits.rs introduces new abstractions for the crypto API.

Ed25519 performs signatures using the new API design based on ed25519-dalek library with additional security checks (e.g. for malleability).

X25519 to perform key exchanges. It is used to secure communications between validators via the Noise Protocol Framework. It is based on the x25519-dalek library."

$\endgroup$
1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.