Is Javascript a suitable cryptography platform? Or, right?

I recently noticed that Wikipedia refers to Javascript implementation of various hash functions. Also found Clipperz Crypto . Even Mozilla implements a crypto object in Firefox.

So, is Javascript a suitable cryptography platform? Or maybe?
Or, I suppose, are there any goals or advantages for hash data over POST?

+5
source share
7 answers

Javascript hash functions are used, for example, checking the client side of captchas (by comparing the hash in the session with the calculated hash from the input). Obviously, usage is limited because it works almost exclusively on the client side (and you cannot trust client input), but there is potential.

+4
source

You can encrypt data using JavaScript; however, I am not sure about the benefits. Since if you use, say, bas64, you need to send the encryption key to the client, and if someone can intercept the encrypted information, he will probably be able to intercept the encryption key.

You should not use this to replace SSL certificates.

+1
source

javascript ...

md5 , , ! -)

+1

, javascript.

... - .

Javascript slooooooow.

0

, , : , JavaScript /, . , . , / JavaScript.

0

, .

If you want to use client-side cryptography, stand-alone, persistent web applications, then yes. So, for example, you want to encrypt all the data stored in the embedded database using the HTML5 globalStorage () specifications. Then use javascript crypto, as it is likely that you will not have a connection to process all crypto on the server side.

If you do not use proven methods

0
source

All Articles