Torus Solutions 改

Ello 2021-01-15T11:22:06.261Z

パスワードを生成する JavaScript コード(改訂版):

btoa(String.fromCharCode.apply(this, Array.from((x=>{x.length=12;return x})({})).map(x => Math.random() * 256 | 0)))

コードは却って長くなってしまったけど、長さを自由に指定できるようにした。 旧版:

btoa(String.fromCharCode.apply(this, [1,2,3,4,5,6,7,8,9,10,11,12].map(x => Math.random() * 256 | 0)))