Nimony

The road to Nim 3

sha1

nimony/lib/std/sha1.nim

SHA-1 (Secure Hash Algorithm 1), 160-bit message digest. Minimal port from Nim's checksums/sha1 — only the bits used by nifchecksums / nifindexes are provided. Byte-swap helpers are inlined since Nimony doesn't have std/endians.