Great start! I would say that this isn't "technically" super secure since Math.random() does not provide cryptographically secure random numbers. Use the Web Crypto API instead, and more precisely the Crypto.getRandomValues() method (source)
Comment hidden by post author
Some comments have been hidden by the post's author - find out more
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (1)
Great start! I would say that this isn't "technically" super secure since Math.random() does not provide cryptographically secure random numbers. Use the Web Crypto API instead, and more precisely the Crypto.getRandomValues() method (source)
Some comments have been hidden by the post's author - find out more