mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:57:45 +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:
parent
ca097b093b
commit
8c645916b4
6 changed files with 342 additions and 4 deletions
|
@ -79,6 +79,7 @@ namespace Hash {
|
|||
virtual void update(const ByteBuffer& buffer) override { update(buffer.data(), buffer.size()); };
|
||||
virtual void update(const StringView& string) override { update((const u8*)string.characters_without_null_termination(), string.length()); };
|
||||
virtual DigestType digest() override;
|
||||
virtual DigestType peek() override;
|
||||
|
||||
virtual String class_name() const override { return "MD5"; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue