crypto module
Hash data, authenticate messages, derive keys, and encrypt or decrypt bytes.
Import it with 'use crypto'.
use crypto
print(count(crypto.hash('sha256', 'Atom')))
32
Requires ATOM_WITH_TLS. Data and key inputs use UTF-8 bytes for text or the raw bytes of valid packed storage. Return buffers are packed u8. Manage secret lifetimes explicitly in your application.