libcryfs/crypto/RandomPadding.h

18 lines
384 B
C
Raw Normal View History

#pragma once
#ifndef MESSMER_CPPUTILS_CRYPTO_RANDOMPADDING_H
#define MESSMER_CPPUTILS_CRYPTO_RANDOMPADDING_H
#include "../data/Data.h"
#include <boost/optional.hpp>
namespace cpputils {
//TODO Test
class RandomPadding {
public:
static Data add(const Data &data, size_t targetSize);
static boost::optional<Data> remove(const Data &data);
};
}
#endif