Hedera.Crypto.Keccak (Hedera v0.2.0)

Copy Markdown View Source

Pure-Elixir Keccak-256 (the pre-NIST padding used by Ethereum and Hedera for ECDSA secp256k1 signing — distinct from SHA3-256, which uses a different domain-separation byte). No NIF, no external dependency.

Summary

Functions

Keccak-256 digest (32 bytes) of a binary.

Functions

hash256(data)

@spec hash256(binary()) :: binary()

Keccak-256 digest (32 bytes) of a binary.