Package crypto collects common cryptographic constants.

Static methods

staticinlineregisterHash(_h:Hash, _f:() ‑> Hash):Void

RegisterHash registers a function that returns a new instance of the given hash function. This is intended to be called from the init function in packages that implement hash functions.