def base32_to_bytes(n):
    missing_padding = (len(n) % 8)
    padding = ((8 - missing_padding) if (missing_padding > 0) else 0)
    padded = (n.upper() + ('=' * padding))
    return base64.b32decode(padded)
def base32_to_bytes(n):
    missing_padding = (len(n) % 8)
    padding = ((8 - missing_padding) if (missing_padding > 0) else 0)
    padded = (n.upper() + ('=' * padding))
    return base64.b32decode(padded)