Generates cryptographically secure pseudo-random bytes. Generates an arbitrary length string of cryptographic random bytes that are suitable for cryptographic use, such as when generating salts, keys or initialization vectors.

random:bytes(INT $length)

random:bytes(1)
#=> TRUE

Copyright ©2013-2022 SunSed®. All rights reserved.