#!/usr/bin/pythonimport re,hashlib,randomfrom itertools import cycle,imapa='BCDFGHJKMPQRTVWXY2346789'b=random.sample(a,12)print'-'.join(re.compile("(.{5})").findall(''.join(list(x.next()for x in cycle(imap(iter,[[a[int(c,16)]for c in hashlib.sha256(''.join(b)).hexdigest()[-13:]],b]))))))