Skip to content
Snippets Groups Projects
Commit eb2ecc80 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

New "standard" for hash functions

Rev: src/modules/_Crypto/hash_submodule.doc:1.1
parent 87422f0a
No related branches found
No related tags found
No related merge requests found
A hash sub-module needs to implement the following Pike-functions:
void update(string); /* Add this string to the hash */
string digest(void); /* Get the digest, and reset the state */
int query_digest_size(void); /* Returns the size of the digest */
string name(void); /* Name of the algorithm */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment