8#ifndef BOTAN_LUBY_RACKOFF_H__
9#define BOTAN_LUBY_RACKOFF_H__
11#include <botan/block_cipher.h>
12#include <botan/hash.h>
22 void encrypt_n(
const byte in[],
byte out[],
size_t blocks)
const;
23 void decrypt_n(
const byte in[],
byte out[],
size_t blocks)
const;
25 size_t block_size()
const {
return 2 * hash->output_length(); }
33 std::string name()
const;
42 void key_schedule(
const byte[],
size_t);
size_t block_size() const
void encrypt_n(const byte in[], byte out[], size_t blocks) const
Key_Length_Specification key_spec() const
void decrypt_n(const byte in[], byte out[], size_t blocks) const
LubyRackoff(HashFunction *hash)