All Projects → grondilu → libdigest-raku

grondilu / libdigest-raku

Licence: Artistic-2.0 license
Raku implementation of various digests

Programming Languages

Raku
181 projects

Labels

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 the openssl command.

The Digest module also exports a subroutine blob-to-hex to turn a blob into a hexadecimal string representation.

Synopsis

use Digest::SHA;
say sha1   "hello";
say sha256 "Привет"; 

use Digest::RIPEMD;
say rmd160 "bye";

Features

Currently implemented:

  • Digest
    • md5
    • blob-to-hex
  • Digest::SHA :
    • sha1
    • sha256
    • sha512 (via openssl)
  • Digest::RIPEMD :
    • rmd160

Disclaimer

PERFORMANCE WARNING: currently, execution is much slower than with most other programming languages.

License

This work is published under the terms of the artistic license, as rakudo is. See LICENSE file.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].