[erlang-questions] Crypto and public_key usage....

Peter W. Morreale pmorreale@REDACTED
Thu Apr 14 16:55:28 CEST 2011


Hi all,

I'm attempting to use the crypto and public key modules to decrypt an
encrypted response I get in a server.  

I found this
http://erlang.2086793.n4.nabble.com/rsa-encryption-decryption-example-code-doesn-t-work-td2114965.html

example on the web, however in my case, I already have the public key as
a string.  

How do I manipulate the key string to decrypt the msg?

I'm quite confused since the above (and some other) examples I have
found refer to exports (pem_to_der() and decode_private_key()) that are
not documented in the public key online manual. 

Thanks,
-PWM




More information about the erlang-questions mailing list