{"provider_url":"https://hatena.blog","image_url":null,"provider_name":"Hatena Blog","height":"190","description":"JavaScript\u3067\u4e71\u6570\u3092\u5229\u7528\u3057\u305f\u3044\u5834\u5408\u306fMath.random()\u3092\u4f7f\u3046\u3053\u3068\u304c\u307b\u3068\u3093\u3069\u3060\u3068\u601d\u3044\u307e\u3059\u304c\u3001\u5185\u90e8\u306e\u30ed\u30b8\u30c3\u30af\u7684\u306b\u6697\u53f7\u306a\u3069\u30bb\u30ad\u30e5\u30a2\u306a\u7528\u9014\u306b\u306f\u5411\u3044\u3066\u3044\u306a\u3044\u3068\u3055\u308c\u3066\u3044\u307e\u3059\u3002Node.js\u3067\u306f\u6a19\u6e96\u30e2\u30b8\u30e5\u30fc\u30eb\u3067\u3042\u308bcrypto\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u3067\u3053\u306e\u554f\u984c\u3092\u89e3\u6c7a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002 \u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9 \u7d50\u8ad6\u304b\u3089\u8a00\u3046\u3068\u5177\u4f53\u7684\u306a\u30b3\u30fc\u30c9\u306f\u4ee5\u4e0b\u306b\u306a\u308a\u307e\u3059\u3002getSecureRandom()\u95a2\u6570\u3092\u5b9f\u884c\u3059\u308b\u5ea6\u306b\u30e9\u30f3\u30c0\u30e0\u306a\u6574\u6570\u3092\u53d6\u5f97\u3067\u304d\u307e\u3059\u3002 const Crypto = require(\"crypto\"); function getSecureRandom(){ const buff = Crypto.rando\u2026","url":"https://blog.katsubemakito.net/nodejs/secure-random-value","author_url":"https://blog.hatena.ne.jp/katsube/","title":" [Node.js] Math.random()\u3088\u308a\u30bb\u30ad\u30e5\u30a2\u306a\u4e71\u6570\u3092\u751f\u6210\u3059\u308b","author_name":"katsube","type":"rich","blog_title":"\u306d\u3053\u306e\u8db3\u8de1R","blog_url":"https://blog.katsubemakito.net/","width":"100%","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.katsubemakito.net%2Fnodejs%2Fsecure-random-value\" title=\" [Node.js] Math.random()\u3088\u308a\u30bb\u30ad\u30e5\u30a2\u306a\u4e71\u6570\u3092\u751f\u6210\u3059\u308b - \u306d\u3053\u306e\u8db3\u8de1R\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2019-07-14 02:21:17","categories":["Node.js","JavaScript","Math.random()","crypto","\u4e71\u6570"]}