(payload, **kwargs)
return base64.b64encode(payload.encode(UNICODE_ENCODING)) if payload else payload
Base64 all characters in a given payload

    >>> tamper("1' AND SLEEP(5)#")
    'MScgQU5EIFNMRUVQKDUpIw=='
Base64 all characters in a given payload
Base64 all characters in a given payload
def tamper(payload, **kwargs):
    """
    Base64 all characters in a given payload

    >>> tamper("1' AND SLEEP(5)#")
    'MScgQU5EIFNMRUVQKDUpIw=='
    """

    return base64.b64encode(payload.encode(UNICODE_ENCODING)) if payload else payload
def tamper ( payload , * * kwargs ) : return base64 . b64encode ( payload . encode ( UNICODE_ENCODING ) ) if payload else payload