aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/genToken.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/genToken.sh')
-rwxr-xr-xscripts/genToken.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/genToken.sh b/scripts/genToken.sh
new file mode 100755
index 0000000..c59c010
--- /dev/null
+++ b/scripts/genToken.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+##
+# This is a simple script that generates a random 4-byte hex value for a PCD Token
+##
+
+hexdump -vn4 -e'"0x%08X\n"' /dev/urandom
+