/* * Copyright (c) 2013 Remko Tronçon * Licensed under the GNU General Public License. * See the COPYING file for more information. */ #pragma once #include #include #include namespace Swift { class Hash { public: virtual ~Hash(); virtual Hash& update(const ByteArray& data) = 0; virtual Hash& update(const SafeByteArray& data) = 0; virtual std::vector getHash() = 0; }; }