This is a wrong question for xmlsec mailing list... You might want to read some books on cryptography http://www.aleksey.com/xmlsec/related.html#books and/or ask this question in openssl mailing list. Best, Aleksey