← Back to team overview

pkg-perl-maintainers team mailing list archive

[Bug 2073269] Re: [MIR] libconvert-base32-perl and libcrypt-urandom-perl

 

b)
import os
import base64

encoded = base64.b32encode(os.urandom(12)).decode('utf-8').rstrip('=').lower()
print('-'.join([encoded[i:i+4] for i in range(0, len(encoded), 4)]))

-- 
You received this bug notification because you are a member of Debian
Perl Group, which is subscribed to libconvert-base32-perl in Ubuntu.
https://bugs.launchpad.net/bugs/2073269

Title:
  [MIR] libconvert-base32-perl and libcrypt-urandom-perl

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/freeradius/+bug/2073269/+subscriptions



References