;; Not dissimilar to https://github.com/deoxxa/proquint/blob/master/encode.js
;; Not awfully similar, either.
(defvar*vowels*"AEOU")
(defvar*consonants*"BFGLMRST")
(defunreadable-verifier(digest)
"Map each byte in the byte array DIGEST (which probably should be a digest, to be fair) to words in a somewhat readable \"sentence\". This function should only be used for \"presenting\" hashes and those kind of values to users for verification, and not stored.
Each byte is written in a way where the bit pattern is mapped to CCCVVCCC or something like that. We tried to pick sounds that are hard to confuse; but you probably should just M-. this function and read the surroundings if you're curious about how this is implemented."
;; Not dissimilar to https://github.com/deoxxa/proquint/blob/master/encode.js
;; Not awfully similar, either.
(defvar*vowels*"AEOU")
(defvar*consonants*"BFGLMRST")
(defunreadable-verifier(digest)
"Map each byte in the byte array DIGEST (which probably should be a digest, to be fair) to words in a somewhat readable \"sentence\". This function should only be used for \"presenting\" hashes and those kind of values to users for verification, and not stored.
Each byte is written in a way where the bit pattern is mapped to CCCVVCCC or something like that. We tried to pick sounds that are hard to confuse; but you probably should just M-. this function and read the surroundings if you're curious about how this is implemented."