Score:1

What are the algorithms used in Facebook's Diem algorithm?

am flag

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

Score:2
cn flag

I think all the useful informations are here.

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."

Ievgeni avatar
cn flag
According to https://github.com/diem/diem/blob/main/crypto/crypto/src/hash.rs the hash length is $256$ bits.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.