|
Classes |
struct | assignXor |
struct | bitwiseXor |
class | Crypt |
| Class for encryted data storage. More...
|
struct | inputKey |
| State structure manipulator to input key. More...
|
struct | outputKey |
| State structure manipulator to output key. More...
|
struct | setFormat |
| State structure manipulator to format key. More...
|
Functions |
template<typename key_type> key_type | Array2Key (const typename key_type::value_type *array, unsigned int length) |
| Convert an array into a key.
|
template Crypt::Key | Array2Key (const Crypt::Key::value_type *array, unsigned int length) |
template Crypt::Base64Key | Array2Key (const Crypt::Base64Key::value_type *array, unsigned int length) |
template Crypt::ShortKey | Array2Key (const Crypt::ShortKey::value_type *array, unsigned int length) |
template<typename key_type> key_type::value_type * | Key2Array (const key_type &vec, unsigned int &length) |
| Convert a key into an array.
|
template Crypt::Key::value_type * | Key2Array (const Crypt::Key &vec, unsigned int &length) |
template Crypt::Base64Key::value_type * | Key2Array (const Crypt::Base64Key &vec, unsigned int &length) |
template Crypt::ShortKey::value_type * | Key2Array (const Crypt::ShortKey &vec, unsigned int &length) |
std::ostream & | operator<< (std::ostream &os, const Crypt &c) |
| Output insertion operator for object of class Crypt.
|
template<typename key_type> std::ostream & | operator<< (std::ostream &os, const outputKey< std::vector< key_type > > &k) |
| Output insertion operator for object of type key.
|
std::ostream & | operator<< (std::ostream &os, const outputKey< Crypt::Base64Key > &k) |
| Output insertion operator for object of type Base64 key.
|
template<typename key_type> std::ostream & | operator<< (std::ostream &os, const outputKey< std::vector< std::vector< key_type > > > &k) |
| Output insertion operator for object of type split keys.
|
template<typename key_type> std::istream & | operator>> (std::istream &is, inputKey< key_type > &k) |
| Input insertion operator for object of type key.
|
std::istream & | operator>> (std::istream &is, const setFormat &f) |
| Input insertion operator for object of type format.
|
std::ostream & | operator<< (std::ostream &os, const setFormat &f) |
| Output insertion operator for object of type format.
|
template std::ostream & | operator<< (std::ostream &os, const outputKey< Crypt::Key > &k) |
template std::ostream & | operator<< (std::ostream &os, const outputKey< Crypt::ShortKey > &k) |
template std::ostream & | operator<< (std::ostream &os, const outputKey< Crypt::LongKey > &k) |
template std::ostream & | operator<< (std::ostream &os, const outputKey< Crypt::SplitKeys > &k) |
template std::ostream & | operator<< (std::ostream &os, const outputKey< Crypt::SplitShortKeys > &k) |
template std::istream & | operator>> (std::istream &is, inputKey< Crypt::Key > &k) |
template std::istream & | operator>> (std::istream &is, inputKey< Crypt::ShortKey > &k) |
template std::istream & | operator>> (std::istream &is, inputKey< Crypt::LongKey > &k) |
template<typename InputIterator1, typename InputIterator2, typename BinaryOperator> InputIterator2 | transform (InputIterator1 first1, InputIterator1 last1, InputIterator2 first2, BinaryOperator binary_op) |
Variables |
const int | evp_max_block_length = 32 |
const Crypt::longByte | prime = 65521 |
| Value of the prime number for modular arithmetic.
|