def sha1.words

bend-kit-crypto@0.2.2.2 · crypto.bend:19

import bend-kit-crypto@0.2.2.2/crypto.bend as Crypto
import Base

19# Legacy: SHA-1 is broken for collisions. Use it only where a protocol needs it, such as the WebSocket handshake.
20def sha1.words(len: U32, words: Array<U32>) -> IO(Result<&1, &1, U32 & String, U32 & Array<U32>>):
21  digest.words("SHA1", len, words)

Uses (7)

Used by (1)