aboutsummaryrefslogtreecommitdiff
path: root/share/examples
diff options
context:
space:
mode:
authorCarl Dong <accounts@carldong.me>2018-11-16 23:24:57 -0800
committerCarl Dong <accounts@carldong.me>2018-11-17 01:26:49 -0800
commit6be7d14d243eeeaaf6b4b98c3359c3e1695f2046 (patch)
treec3909ee2454344e6f1d990287a9ef852e2854721 /share/examples
parent35739976c1d9ad250ece573980c57e7e7976ae23 (diff)
Properly generate salt in rpcauth.py, update tests
Previously, when iterating over bytes of the generated salt to construct a hex string, only one character would be outputted when the byte is less than 0x10. Meaning that for a 16 byte salt, the hex string might be less than 32 characters and collisions would occur.
Diffstat (limited to 'share/examples')
0 files changed, 0 insertions, 0 deletions