Script for generating anonymization key
This commit is contained in:
parent
e4634fedf2
commit
7ca4a33a48
3
generate-key.ts
Normal file
3
generate-key.ts
Normal file
@ -0,0 +1,3 @@
|
||||
const key = crypto.getRandomValues(new Uint8Array(32));
|
||||
const keyHex = Array.from(key).map(b => b.toString(16).padStart(2, "0")).join("");
|
||||
console.log(keyHex);
|
Loading…
x
Reference in New Issue
Block a user