Hi,

Absolute newbie to cryptography.

I'm looking for C++ open source code (to be compiled on Windows, Mac, linux), for doing the following:

1. Generate private+public keys (need not run on all platforms).
2. (server side) Adding a digital signature to an XML document using a private key.
3. (client side) Verifying signature using the matching public key.

I envisage the signed XML to look like this:

<root>
    <creditcard>
        <number>19834209</number>
        <expiry>02/02/2002</expiry>
    </creditcard>
</root>
<Signature>
        WvZUJAJ/3QNqzQvwne2vvy7U5Pck8ZZ5UTa6pIwR7GE+PoGi6A1kyw==
</Signature>

Thanks in advance,
Gil.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.