Hello!

Suppose I have a ECDSA<...>::PublicKey, and I'd like to compute a hash of it.

How can I best do that? I could for example just do:

ByteQueue bytes;
publicKey.Save(bytes)

And then compute the hash of the bytes. 

Is this the right way to do it? As far as I understand (I could be wrong) 
Save() does not make very strong guarantees about byte order and such (how 
strict is the format that it saves to?) and I'd rather not depend on specific 
implementations.

This is an operation that must be done in other places as well (where Crypto++ 
might not be available).

-- 
-- 
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to [email protected].
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
--- 
You received this message because you are subscribed to the Google Groups 
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to