From ea87d0f133a589eb363cfc463110a119e4926335 Mon Sep 17 00:00:00 2001 From: PrincessPi3 Date: Tue, 19 Aug 2025 19:25:55 -0600 Subject: [PATCH] 1755653155 --- customscripts/randomtoken | 2 ++ 1 file changed, 2 insertions(+) diff --git a/customscripts/randomtoken b/customscripts/randomtoken index fda1120..829413a 100644 --- a/customscripts/randomtoken +++ b/customscripts/randomtoken @@ -1,12 +1,14 @@ #!/bin/bash # usage: randomtoken [bytes] [mode] # modes: hex, md5, sha1, sha256, sha512, base64, raw +# Example randomtoken 32 hex # requires xxd # handle args and defaults if [ "$#" -ne 2 ]; then echo "Usage: $0 [bytes] [mode]" echo "Modes: hex, md5, sha1, sha256, sha512, base64, raw" + echo "Example: $0 32 hex" exit 1 else bytes=$1