Julia wrapper around nettle cryptographic hashing/encryption library providing MD5, SHA1, SHA2 hashing and HMAC functionality, as well as AES encryption/decryption
I needed to copy the hashing state (avoiding recomputation for common prefixes).
Following worked well, and I'd like it to be included (IMO commonly supported functionality).
Hi,
I needed to copy the hashing state (avoiding recomputation for common prefixes). Following worked well, and I'd like it to be included (IMO commonly supported functionality).
copy(hsh:: Hasher) = Hasher(hsh.hash_type, copy(hsh.state))
Thanks.
edit: ping @staticfloat