src/crypto/sha/packed/buffer.bend checks
raw source on the hub · import 0xd9a2fae439ac7ff9e21e0853948f94fe/src/crypto/sha/packed/buffer.bend as Buffer
3 imports
import Base import ../state.bend as S import ./packed.bend as P
Definitions
def digest source · line 6 · raw
@s:0xd9a2fae439ac7ff9e21e0853948f94fe/src/crypto/sha/state.State -> Array<U32>
Exactly eight big-endian U32 words (32 bytes), with no list allocation.
def result source · line 11 · raw
@r:Maybe<&2, 0xd9a2fae439ac7ff9e21e0853948f94fe/src/crypto/sha/state.State> -> Maybe<&1, Array<U32>>
def sha256 source · line 16 · raw
@input:Array<U32> -> @length:Nat -> Maybe<&1, Array<U32>>