rand.hex0.000001
Generates a hex string.
Arguments
length
The length of the random hexidecimal number. Defaults to 16
.Return Value
The randomly generated hexidecimal string.something went wrong :(
Generating a random hexidecimal string
Setup
authorization=PROCAUTH
require "proc"
client = Proc.connect("PROCAUTH")
const Proc = require("@proc.dev/client");
const client = Proc.connect("PROCAUTH");
client.rand.hex.call
client.rand.hex.call();
curl "https://proc.run/rand/hex" --silent --request POST \
--header "authorization: bearer $authorization" \
--header "content-type: text/plain"
9909b6191025eaf788742a7df05729cd
Stuck? Want to chat about an idea? Join the community on Discord.