Why not just think of the struct as a series of bytes? Then you could
create your signature like:

struct c myc;
thesignature = yoursignaturefunctionhere(myc, sizeof(struct c));

Then package it however you want.

Chris




On Mon, Dec 7, 2009 at 6:35 AM, Charlie <[email protected]> wrote:
> Hi!
>
> I know how to sign a string with crypto++, but, how can I sign a C
> struct, for example, the next struct?
>
> struct c
> {
>      double x;
>      double y;
>      int z;
> };
>
> Regards.
>
> --
> 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 "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.

Reply via email to