#ifndef ELLIGATOR_H__ #define ELLIGATOR_H__ #include #include #include namespace i2p { namespace crypto { class Elligator2 { public: Elligator2 (); ~Elligator2 (); void Encode (const uint8_t * key, uint8_t * encoded) const; private: BIGNUM * p, * n1, * n2, * A, * u, * iu; }; std::unique_ptr& GetElligator (); } } #endif