initial commit.

This commit is contained in:
fiatjaf
2021-01-04 14:15:27 -03:00
commit b077271d46
7 changed files with 99 additions and 0 deletions

5
utils.js Normal file
View File

@@ -0,0 +1,5 @@
export function makeRandom32() {
var array = new Uint32Array(32)
window.crypto.getRandomValues(array)
return Buffer.from(array)
}