mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
load eepsite keys
This commit is contained in:
parent
c855d8b413
commit
72cb35fcc0
2 changed files with 9 additions and 0 deletions
|
@ -19,6 +19,13 @@ namespace data
|
|||
return *this;
|
||||
}
|
||||
|
||||
PrivateKeys& PrivateKeys::operator=(const Keys& keys)
|
||||
{
|
||||
pub = keys;
|
||||
memcpy (privateKey, keys.privateKey, 276); // 256 + 20
|
||||
return *this;
|
||||
}
|
||||
|
||||
IdentHash CalculateIdentHash (const Identity& identity)
|
||||
{
|
||||
IdentHash hash;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue