ACL GENPASS
Since 1.1.0ACLKnown issue
Syntax
ACL GENPASS [bits]Returns a random password, as hexadecimal digits, from the system's secure random source. bits is how much randomness, 256 by default, rounded up to a multiple of 4: each digit is 4 bits.
Known issue
bits from 1 to 4 gives an empty string, where Redis gives one digit. Filed as kividb#140, fixed in 1.2.
Examples
> ACL GENPASS
"010d74e049c40b2e66cb9e3e8646c5bbba33d0f53eff04f45f80d2ef17534a5d"
> ACL GENPASS 32
"28de2381"