apigee, a better way to API!
Nitesh Kant wrote:Sounds like you are giving us an assignment!
We do not do your homework. If you tell us how you are planning to approach this and what difficulties you are facing. We will be happy to help.
This question is more appropriate for Security forum. Moving to the same.
CarefullyChooseOneForum while posting.
salvin francis wrote:Sorry, I forgot those concepts.
However, I am pretty sure i need a Public key-private key pair.
your point of reinventing the wheel is correct. but the environment we are working, wont allow other java utils / libraries.
Once again, thanks @ Diffie-Hellman.
salvin francis wrote:I need to develop a program in java that does a encryption & decryption based on a simple public key - private key concept.
salvin francis wrote: its going to be using javascript in the end
Pat Farrell wrote:Javascript is slow. this is usually OK, since it doesn't do much calculations.
RSA is a huge amount of calculations on huge numbers.
Carey Evans wrote:It's just a better idea to use HTTPS.
Pat Farrell wrote:
Carey Evans wrote:It's just a better idea to use HTTPS.
Using TLS/SSL is much better than rolling your own, but I don't know if that addresses the OP's problem. TLS only addresses security in transit. If you care about security when its on the user's computer, its not enough.
salvin francis wrote:Usually using SSL would require my company to purchase some liscenses (if i am not wrong).
Pat Farrell wrote:You can make your own certificate using openssl
The happiness of your life depends upon the quality of your thoughts -Marcus Aurelius ... think about this tiny ad:
New web page for Paul's Rocket Mass Heaters movies
https://coderanch.com/t/785239/web-page-Paul-Rocket-Mass
|