1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:57:44 +00:00

LibCrypto: Add SHA512

There is quite a bit of avoidable duplication, however, I could not get
the compiler to be happy about SHA2<Size> (see FIXMEs)
This commit is contained in:
AnotherTest 2020-04-08 06:24:28 +04:30 committed by Andreas Kling
parent ca097b093b
commit 8c645916b4
6 changed files with 342 additions and 4 deletions

View file

@ -48,7 +48,9 @@ namespace Hash {
virtual void update(const ByteBuffer& buffer) = 0;
virtual void update(const StringView& string) = 0;
virtual DigestType peek() = 0;
virtual DigestType digest() = 0;
virtual String class_name() const = 0;
};
}