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

LibCrypto: Expose checksum type of ChecksumFunction

This commit is contained in:
kleines Filmröllchen 2023-05-18 15:52:20 +02:00 committed by Jelle Raaijmakers
parent c9f6605fb2
commit 4f9c91e34d

View file

@ -10,9 +10,11 @@
namespace Crypto::Checksum {
template<typename ChecksumType>
template<typename ChecksumT>
class ChecksumFunction {
public:
using ChecksumType = ChecksumT;
virtual void update(ReadonlyBytes data) = 0;
virtual ChecksumType digest() = 0;