mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
update comments, answer question
This commit is contained in:
parent
6a8c0d0725
commit
d8bb2d5c1e
@ -9,6 +9,7 @@
|
||||
* \date: 2020-06-04
|
||||
*
|
||||
* \brief: Key Pairs class for ed25519 keys, used for default gradido transactions
|
||||
* TODO: add verify method
|
||||
*/
|
||||
|
||||
|
||||
@ -75,6 +76,9 @@ private:
|
||||
//! \brief ed25519 libsodium private key
|
||||
//!
|
||||
//! Why it is a pointer and the public is an array?
|
||||
//! Because MemoryBin should be replaced by a memory obfuscation class which make it harder to steal the private key from computer memory
|
||||
//! And because private key can be nullptr for example to verify a signed message
|
||||
|
||||
//! TODO: replace MemoryBin by a memory obfuscation class which make it hard to steal the private key from memory
|
||||
MemoryBin* mSodiumSecret;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user