Hello I am a JavaScript noob, I was wondering if window.btoa();
in JavaScript secure?
I cannot seem to find a good encryption program in JavaScript so i would like to use this function built into JavaScript
Asked
Active
Viewed 733 times
2

Jake Garza
- 43
- 3
- 6
-
1What are you trying to encrypt? For 99.99% of the cases, browser-based encryption is a Bad Idea for multiple reasons. If you explain why you are trying to encrypt and why, perhaps we can suggest a better approach. – Jeremy J Starcher Aug 17 '14 at 01:52
-
`btoa ()` is not an encryption tool. In that regard it is not secure in any way. – Aug 17 '14 at 01:53
1 Answers
0
I've heard good things about bcrypt. Check it out https://code.google.com/p/javascript-bcrypt/

bobbyg603
- 3,536
- 2
- 19
- 30