728x90
728x90
- Math.random()메서드는 암호화적으로 안전하지 않은 무작위 알고리즘을 사용한다.
- crypto.getRandomValues() 메서드는 암호화된 강력한 무작위 값을 반환. 매개변수는 typeArray이다.
https://www.w3schools.com/jsref/met_crypto_getrandomvalues.asp
JavaScript crypto API getRandomValues() Method
W3Schools offers free online tutorials, references and exercises in all the major languages of the web. Covering popular subjects like HTML, CSS, JavaScript, Python, SQL, Java, and many, many more.
www.w3schools.com
728x90
300x250
'개발' 카테고리의 다른 글
자바스크립트 한글 조사 반환 (를, 가, 는, 와 / 이, 을, 은, 과) (0) | 2023.09.20 |
---|---|
MyBatis에서 INSERT 후 증가된 SEQ를 가져오는 방법?! (2) | 2023.04.27 |
잘되던 이클립스 톰캣 실행이 안될 경우... (5) | 2023.03.22 |
@Value어노테이션을 static변수로 선언하기 (3) | 2023.03.07 |
댓글