DecodeBox
Search
K
Guides
SDK Reference
Operations
Playgrounds
Operations Explorer
Auto Detection Lab
Encoding & Decoding Lab
Open DecodeBox
Theme
Menu
ON THIS PAGE
#
Generate random bytes
Generates cryptographically random bytes.
ID:
random-bytes
Category: Utils
Aliases: random, entropy, urandom
#
Arguments
Argument
Type
Default
Constraints
Bytes
number
32
Minimum: 1. Maximum: 4096
Output
option
"Hex"
Hex, Base64, Raw