GCrypt/GhettoCrypt/include/InitializationVector.h

18 lines
344 B
C
Raw Normal View History

2022-02-06 18:38:09 +01:00
#pragma once
#include "Config.h"
#include "Block.h"
2022-05-16 22:01:52 +02:00
namespace GhettoCipher {
/** Will create a sudo-random Block based on a seed
*/
class InitializationVector {
public:
InitializationVector(const GhettoCipher::Block& seed);
2022-02-06 18:38:09 +01:00
2022-05-16 22:01:52 +02:00
operator GhettoCipher::Block() const;
2022-02-06 18:38:09 +01:00
2022-05-16 22:01:52 +02:00
private:
GhettoCipher::Block iv;
};
}