mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 15:17:36 +00:00
LibCrypto: Use AK::Variant in MultiHashDigestVariant
This commit is contained in:
parent
2c1916dd8d
commit
73f585ceb4
4 changed files with 25 additions and 56 deletions
|
@ -31,7 +31,7 @@ struct SHA1Digest {
|
|||
constexpr static size_t Size = Bytes;
|
||||
|
||||
const u8* immutable_data() const { return data; }
|
||||
size_t data_length() { return Bytes; }
|
||||
size_t data_length() const { return Bytes; }
|
||||
};
|
||||
|
||||
class SHA1 final : public HashFunction<512, SHA1Digest<160 / 8>> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue