Script for generating anonymization key
This commit is contained in:
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);
|
||||||
Reference in New Issue
Block a user