I would like to have a public key encryption where i want some javascript function to encrypt some data. Is there any Javascript encryption techniques with high security?
Thanks
Javascript AES encryption provides a good solution to this question.
I think that encrypting things with javascript can work just fine, if you have a good use case for it. The fact that the code is open shouldn't matter at all, because encryption algorithms are well known anyway. Where you are going to run into problems is the way in which the private key is supplied. DO NOT put the private key in your javascript code. The key should be provided by the user only. As long as you follow that rule, you should be good.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With