OpenSSL compatible API for Scala?
Posted
by pfleidi
on Stack Overflow
See other posts from Stack Overflow
or by pfleidi
Published on 2010-05-26T02:41:59Z
Indexed on
2010/05/26
2:51 UTC
Read the original article
Hit count: 218
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?
© Stack Overflow or respective owner