2011-11-04 16:56:25 +11:00
|
|
|
/*
|
2018-08-04 15:14:06 +10:00
|
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
2011-11-04 16:56:25 +11:00
|
|
|
*
|
2014-09-02 23:36:21 +10:00
|
|
|
* Copyright 2010-2014 Danny Robson <danny@nerdcruft.net>
|
2011-11-04 16:56:25 +11:00
|
|
|
*/
|
|
|
|
|
2021-04-14 15:35:49 +10:00
|
|
|
#pragma once
|
2016-06-20 16:37:43 +10:00
|
|
|
|
2017-11-22 16:49:37 +11:00
|
|
|
#include "fletcher.hpp"
|
2011-11-04 16:56:25 +11:00
|
|
|
|
|
|
|
#include <cstdint>
|
|
|
|
|
2016-06-17 16:20:09 +10:00
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2018-08-05 14:42:02 +10:00
|
|
|
namespace cruft::hash {
|
2016-06-20 16:37:43 +10:00
|
|
|
class adler32 : public fletcher<uint32_t> {
|
|
|
|
public:
|
|
|
|
adler32 ();
|
|
|
|
};
|
2021-04-14 15:35:49 +10:00
|
|
|
}
|