Neil V. mentioned his preference for directly calling the OpenSSL 
libraries vs. using  mzcrypto (planet vyzo/crypto)

I wanted to provide a small example using this technique for 
generating and retrieving a 1024 bit unencrypted private key in
PEM format.

(define res (process "openssl genrsa 1024"))

(port->string (first res))

;;returns 
"-----BEGIN RSA PRIVATE KEY-----
......[the key].....
-----END RSA PRIVATE KEY-----\n"



____________________
  Racket Users list:
  http://lists.racket-lang.org/users

Reply via email to