From a94d1aa5d5c4af27c74679e8476d7734ace2de24 Mon Sep 17 00:00:00 2001 From: Evgeni Date: Sun, 28 Apr 2019 08:43:40 +0200 Subject: [PATCH] decode private key from burner url --- decodePK.js | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 decodePK.js diff --git a/decodePK.js b/decodePK.js new file mode 100644 index 0000000..ccf596c --- /dev/null +++ b/decodePK.js @@ -0,0 +1,5 @@ +let base64url = require('base64url'); + +const pk = process.argv[2]; + +console.log(base64url.toBuffer(pk).toString('hex'));