Digests in raku
This is a raku module implementing some digest algorithms
either in pure raku (no parrot or nqp:: code), or using a process call to
Digest module also exports a subroutine
blob-to-hex to turn a blob into
a hexadecimal string representation.
say sha1 "hello";
say sha256 "Привет";
say rmd160 "bye";
- Digest::SHA :
- sha512 (via
- Digest::RIPEMD :
PERFORMANCE WARNING: currently, execution is much slower than with most other programming languages.
This work is published under the terms of the artistic license, as rakudo is.
See LICENSE file.