diff options
Diffstat (limited to 'src/common/md5calc.h')
-rw-r--r-- | src/common/md5calc.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/common/md5calc.h b/src/common/md5calc.h index bd06f1fbc..26e4fa567 100644 --- a/src/common/md5calc.h +++ b/src/common/md5calc.h @@ -55,6 +55,13 @@ struct md5_interface { * @param[out] output The output buffer (at least len bytes available). */ void (*salt) (int len, char *output); + + /** + * Generates a sha256 hash + */ + void (*sha256) (const char* message, char* outputBuffer); + + }; #ifdef HERCULES_CORE |