mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
set random two highest bits
This commit is contained in:
parent
0e666e7d6a
commit
f497a74ec4
2 changed files with 11 additions and 4 deletions
|
@ -17,7 +17,7 @@ namespace crypto
|
|||
Elligator2 ();
|
||||
~Elligator2 ();
|
||||
|
||||
bool Encode (const uint8_t * key, uint8_t * encoded, bool highY = false) const;
|
||||
bool Encode (const uint8_t * key, uint8_t * encoded) const;
|
||||
bool Decode (const uint8_t * encoded, uint8_t * key) const;
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue