25 #ifndef COMMON_BLOWFISH_H 26 #define COMMON_BLOWFISH_H 34 class SeekableReadStream;
35 class MemoryReadStream;
38 MemoryReadStream *
encryptBlowfishEBC(SeekableReadStream &input,
const std::vector<byte> &key);
40 MemoryReadStream *
decryptBlowfishEBC(SeekableReadStream &input,
const std::vector<byte> &key);
44 #endif // COMMON_BLOWFISH_H
MemoryReadStream * decryptBlowfishEBC(SeekableReadStream &input, const std::vector< byte > &key)
Decrypt the stream with the Blowfish algorithm in EBC mode.
Low-level type definitions to handle fixed width types portably.
MemoryReadStream * encryptBlowfishEBC(SeekableReadStream &input, const std::vector< byte > &key)
Encrypt the stream with the Blowfish algorithm in EBC mode.