def decode_value(val): decoded = base64url_decode(ensure_bytes(val)) return int_from_bytes(decoded, 'big')
def decode_value(val): decoded = base64url_decode(force_bytes(val)) return int_from_bytes(decoded, "big")