Add command to encrypt/decrypt capture IDs

This commit is contained in:
Samuel Elliott 2022-04-21 18:22:05 +01:00
parent fb1582dea9
commit 508c8dfa3f
No known key found for this signature in database
GPG Key ID: 8420C7CDE43DC4D6

View File

@ -25,6 +25,7 @@ export function builder(yargs: Argv<ParentArguments>) {
});
}, argv => {
console.log(decrypt(argv.captureid));
});
}
const key = Buffer.from('b7ed7a66c80b4b008baf7f0589c08224', 'hex');