JavaScript is a dynamic, object-oriented, prototype-based, weakly typed language commonly used for scripting in web browsers. Despite the name, it is unrelated to the Java programming language and shares only superficial similarities.

learn more… | top users | synonyms

3
votes
1answer
3k views

Generating a secure random number in javascript

What I am trying to do is generate a large (4096bit) random number in JavaScript that is cryptographically safe to use. My approach is the following: I am creating a ...
2
votes
2answers
143 views

Can I simulate iterated AES-ECB with other block cipher modes?

I am trying to write some code using the Web Crypto API (http://www.w3.org/TR/WebCryptoAPI/#algorithm-overview) which provides only some of the block cipher modes for AES, intentionally excluding ...