Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API

From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Root784385yAlgorithms aren't language dependent.
Find a secure one you like and implement it twice. -
@zemaitis No, really. 1st rule of crypto is "don't roll out your own crypto", and 2nd is "don't implement it yourself". Find some reputable known-good libs and use them.
Here's a cheat sheet you can use: https://gist.github.com/tqbf/... -
Root784385y@zemaitis With? Choices?
Bcrypt comes to mind.
If you prefer large integers instead, I hear GPG is so nice that it's been banned in a few places. -
Bouncycastle. Or smth from jdk libs. BC has a vide variety of algo implementations.
Dunno about c++. You can always use the same BC via JNI.
Since you are building a secret spaceship we have no details of - not much we can do. -
Use standard libraries. Find one which exists in C++ and in Java.
@Root I don't think implementing it your self is a good idea
Related Rants
Looking for a way to generate an encrypted string (with salt) in C++ then send that string over to a java server and decrypt it on java as well. Any suggestions?
rant
question