Next: , Previous: , Up: Utils   [Contents]

27.3 Cryptographic hash functions

;; hash a string with MD5
(string->md5 str)
;; hash a string with SHA-1
(string->sha-1 str)

SHA-2 hash functions are also supported from Artanis-0.2.5.

(string->sha-224 str)
(string->sha-384 str)
(string->sha-512 str)