~/bend-docscommunity

hash.bend checks

raw source on the hub · import element-crypto@0.1.0.0/hash.bend as Hash

3 imports
import Base
import ./sha256.bend as Sha256
import ./sha512.bend as Sha512

Types

type Hash source · line 7 · raw

Data

Definitions

def digest source · line 12 · raw

@h:Hash -> @+bs:List<&2, U32> -> List<&2, U32>

def size source · line 21 · raw

@h:Hash -> Nat

def digest_info source · line 32 · raw

@h:Hash -> List<&2, U32>

DER of the DigestInfo header that precedes the digest in PKCS#1 v1.5 signatures (RFC 8017 section 9.2, note 1).