OpenSSL compatible API for Scala?
- by pfleidi
Hello,
I'm working on a project with a friend. He's implementing his software in Ruby and I'm doing my stuff in Scala (with Lift). We're using some asynchronous encryption and he is using the ruby OpenSSL bindings for that:
key = OpenSSL::PKey::RSA.generate(4096)
self.public_key = key.public_key
self.private_key = key
What I'm looking for is a simple API which is compatible to OpenSSL and runs on the JVM. I need it to create key-pairs and to encrypt and sign our payload. Do you have any suggestions?