I have this fork with work towards adding SHA256 cryptographic hashing as a built-in.
If I build and run the repl and then try to access a member of the module, I get the following:
» Crypt.digest
── UNRECOGNIZED NAME ───────────────────────────────────────────────────────────
The Crypt module does not expose anything by the name digest.
Which is notably different from the message when something actually isn't exposed
» Crypt.digwst
── NOT EXPOSED ─────────────────────────────────────────────────────────────────
The Crypt module does not expose `digwst`:
4│ Crypt.digwst
^^^^^^^^^^^^
Did you mean one of these?
Crypt.digest
Crypt.addBytes
Crypt.emptySha256
I assume I have missed or broken some part of connecting the roc symbol name to the zig function. If anyone can spot what I would appreciate it.
I'll look at it in a few minutes
Last updated: Jul 06 2025 at 12:14 UTC