From eb2ecc80d3e5512549a7e160a2b20da9671371cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?= <grubba@grubba.org> Date: Mon, 11 Nov 1996 15:25:49 +0100 Subject: [PATCH] New "standard" for hash functions Rev: src/modules/_Crypto/hash_submodule.doc:1.1 --- src/modules/_Crypto/hash_submodule.doc | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 src/modules/_Crypto/hash_submodule.doc diff --git a/src/modules/_Crypto/hash_submodule.doc b/src/modules/_Crypto/hash_submodule.doc new file mode 100644 index 0000000000..1e90903ead --- /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 */ -- GitLab