crypto: cache public key

This commit is contained in:
Adrien Béraud committed 2021-06-07 14:45:58 -04:00
1 parent 1ea7a2994e
commit 8aef63ce4a
7 files changed
+31 -22

No files matched your search

+1 -1
View File
@@ -97,7 +97,7 @@ cdef extern from "opendht/crypto.h" namespace "dht::crypto":
cdef cppclass PrivateKey:
PrivateKey()
PublicKey getPublicKey() const
shared_ptr[PublicKey] getSharedPublicKey() const
Blob decrypt(Blob data) const
@staticmethod
PrivateKey generate()