Skip to content

Latest commit

 

History

History
16 lines (10 loc) · 250 Bytes

File metadata and controls

16 lines (10 loc) · 250 Bytes

Crypto (std/crypto/)

Cryptographic primitives.

SHA1 (std/crypto/sha1.zc)

Implementation of the SHA1 hashing algorithm.

Usage

import "std/crypto/sha1.zc"

let digest = Sha1::hash((u8*)"Hello", 5);
// digest.bytes is u8[20]