Private Key Length

2007-10-31 Thread Pierce Ward
Hi guys, I'm generating some keys with OpenSSL, and converting them to byte format using the following commands: -- openssl genrsa -out private_key.pem -f4 768 openssl pkcs8 -in private_key.pem -nocrypt -topk8 -out PK.pem cat PK.pem | openssl enc -base64 -d > PK.key rm -f private_key.

Unusual RSA Private Key Format? (JSAFE)

2007-10-09 Thread Pierce Ward
Hi guys, I'm currently writing a little test application using RSA's JSAFE libraries (java version of BSAFE), and I'm generating my keys using openssl, however I cannot get a signature to verify successfully. An example program (with hard coded bytes for the private key) using an rsa algorithm wor