diff --git a/src/modules/_Crypto/hash_submodule.doc b/src/modules/_Crypto/hash_submodule.doc new file mode 100644 index 0000000000000000000000000000000000000000..1e90903ead9ab1260f206ab1c4d79c7b4eb2a705 --- /dev/null +++ b/src/modules/_Crypto/hash_submodule.doc @@ -0,0 +1,6 @@ +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 */