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:
parent
c9f6605fb2
commit
4f9c91e34d
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue