I’m trying pass messages between a JUCE app and a node.js app, and ideally I want to be able to encrypt or decrypt messages using the same pair of keys.
Has anyone been able to do something like that? I’m looking to use the keys in some way that can be understood by the crypto node.js library, but it seems like juce::RSAKey is structured somewhat differently?
My understanding in cryptography is very basic, so I might be missing something obvious?
I looked at doing something similar in Ruby, but ended up using the Unlocker JUCE example CLI utility and calling it via a shell command.
It would be preferable to have it all done in Ruby. It would be great if someone could come up with equivalent code for the Unlocker in some of the popular server side web frameworks (e.g. PHP, Node.js, Ruby on Rails)