예제 #1
0
 inline uint qHash(const PublicKey &key) { 
   return qHash(key.GetParameters()->GetKeyGroup()->ElementToByteArray(key.GetElement()));
 }
예제 #2
0
 /**
  * Equality operator
  * @param other integer to compare
  */
 inline bool operator==(const PublicKey &other) const
 {
   return (_public_key == other.GetElement());
 }