def finish

bend-collections@1.0.0.0 · src/crypto/sha/core.bend:1124

import bend-collections@1.0.0.0/src/crypto/sha/core.bend as Core
import Base
import bend-collections@1.0.0.0/src/crypto/sha/state.bend as S

1124# count is the number of bytes already hashed, always a multiple of 64.
1125def finish(+tail: List<&2, U32>, count: Nat, +extra: Nat, s: S.State) -> S.State:
1126  finish_n(tail, byte_count(tail, count), extra, s)

Uses (6)

Used by (1)