Uname: Linux web3.us.cloudlogin.co 5.10.226-xeon-hst #2 SMP Fri Sep 13 12:28:44 UTC 2024 x86_64
Software: Apache
PHP version: 8.1.31 [ PHP INFO ] PHP os: Linux
Server Ip: 162.210.96.117
Your Ip: 18.118.93.246
User: edustar (269686) | Group: tty (888)
Safe Mode: OFF
Disable Function:
NONE

name : base64.cpython-32.pyc
l
��bc@sodZddlZddlZddlZddddddd	d
ddd
dddgZeefZd�Zdd�Z
ddgd�Zd�Z
d�Zd�Zd�Zi dd6dd6dd6dd6dd 6d!d"6d#d$6d%d&6d'd(6d)d*6d+d,6d-d.6d/d06d1d26d3d46d5d66d7d86d9d:6d;d<6d=d>6d?d@6dAdB6dCdD6dEdF6dGdH6dIdJ6dKdL6dMdN6dOdP6dQdR6dSdT6dUdV6ZdW�eej��D�ZedX�ej�D��ZdY�ZdgddZ�Zd[�Zdgd\�Zd]Zed8d0Zd^�Zd_�Zd`�Zda�Z db�Z!dc�Z"dd�Z#de�Z$e%dfkrke#�ndS(hu/RFC 3548: Base16, Base32, Base64 Data EncodingsiNuencodeudecodeuencodebytesudecodebytesu	b64encodeu	b64decodeu	b32encodeu	b32decodeu	b16encodeu	b16decodeustandard_b64encodeustandard_b64decodeuurlsafe_b64encodeuurlsafe_b64decodecCsxt|t�s(td|jj��nttd��}x.|j�D] \}}|d|t|�<qGW|j	|�S(Nuexpected bytes, not %sii(
u
isinstanceubytes_typesu	TypeErroru	__class__u__name__u	bytearrayurangeuitemsuordu	translate(usualtcharsutranslationukuv((u-/usr/local/python-3.2/lib/python3.2/base64.pyu
_translate!scCs�t|t�s(td|jj��ntj|�dd�}|dk	r�t|t�sutd|jj��nt|�dks�t	t
|���t|i|dd�d6|dd�d6�S|S(	uSEncode a byte string using Base64.

    s is the byte string to encode.  Optional altchars must be a byte
    string of length 2 which specifies an alternative alphabet for the
    '+' and '/' characters.  This allows an application to
    e.g. generate url or filesystem safe Base64 strings.

    The encoded byte string is returned.
    uexpected bytes, not %sNiiiu+u/i����(u
isinstanceubytes_typesu	TypeErroru	__class__u__name__ubinasciiu
b2a_base64uNoneulenuAssertionErrorurepru
_translate(usualtcharsuencoded((u-/usr/local/python-3.2/lib/python3.2/base64.pyu	b64encode-s
$/cCs�t|t�s(td|jj��n|d	k	r�t|t�s\td|jj��nt|�dks�tt|���t	|idt
|d�6dt
|d�6�}n|r�tjd|�r�t
jd��nt
j|�S(
uDecode a Base64 encoded byte string.

    s is the byte string to decode.  Optional altchars must be a
    string of length 2 which specifies the alternative alphabet used
    instead of the '+' and '/' characters.

    The decoded string is returned.  A binascii.Error is raised if s is
    incorrectly padded.

    If validate is False (the default), non-base64-alphabet characters are
    discarded prior to the padding check.  If validate is True,
    non-base64-alphabet characters in the input result in a binascii.Error.
    uexpected bytes, not %sis+is/is^[A-Za-z0-9+/]*={0,2}$uNon-base64 digit foundN(u
isinstanceubytes_typesu	TypeErroru	__class__u__name__uNoneulenuAssertionErrorurepru
_translateuchrureumatchubinasciiuErroru
a2b_base64(usualtcharsuvalidate((u-/usr/local/python-3.2/lib/python3.2/base64.pyu	b64decodeDs$4cCs
t|�S(u�Encode a byte string using the standard Base64 alphabet.

    s is the byte string to encode.  The encoded byte string is returned.
    (u	b64encode(us((u-/usr/local/python-3.2/lib/python3.2/base64.pyustandard_b64encode_scCs
t|�S(uDecode a byte string encoded with the standard Base64 alphabet.

    s is the byte string to decode.  The decoded byte string is
    returned.  binascii.Error is raised if the input is incorrectly
    padded or if there are non-alphabet characters present in the
    input.
    (u	b64decode(us((u-/usr/local/python-3.2/lib/python3.2/base64.pyustandard_b64decodefscCs
t|d�S(u�Encode a byte string using a url-safe Base64 alphabet.

    s is the byte string to encode.  The encoded byte string is
    returned.  The alphabet uses '-' instead of '+' and '_' instead of
    '/'.
    s-_(u	b64encode(us((u-/usr/local/python-3.2/lib/python3.2/base64.pyuurlsafe_b64encodepscCs
t|d�S(uXDecode a byte string encoded with the standard Base64 alphabet.

    s is the byte string to decode.  The decoded byte string is
    returned.  binascii.Error is raised if the input is incorrectly
    padded or if there are non-alphabet characters present in the
    input.

    The alphabet uses '-' instead of '+' and '_' instead of '/'.
    s-_(u	b64decode(us((u-/usr/local/python-3.2/lib/python3.2/base64.pyuurlsafe_b64decodeys
sAsJi	sSis3isBisKi
sTis4isCisLisUis5isDisMisVis6isEisNi
sWis7isFisOisXisGisPisYisHisQisZisIisRis2icCs g|]\}}|d�qS(i((u.0ukuv((u-/usr/local/python-3.2/lib/python3.2/base64.pyu
<listcomp>�s	cCs&g|]\}}|d|f�qS(i((u.0ukuv((u-/usr/local/python-3.2/lib/python3.2/base64.pyu
<listcomp>�s	c
Cs�t|t�s(td|jj��ntt|�d�\}}|rj|td|�}|d7}nt�}x�t|�D]�}t	j
d||d|dd��\}}}||d@d>7}||d@d>7}|tt|d?t|d	?d
@t|d?d
@t|d?t|d?d
@t|d
?d
@t|d?t|d
@g�7}q�W|dkru|dd�dS|d
kr�|dd�dS|dkr�|dd�dS|dkr�|dd�dS|S(urEncode a byte string using Base32.

    s is the byte string to encode.  The encoded byte string is returned.
    uexpected bytes, not %siiu!HHBiiiiiiiiiNs======is====s===s=i����i����i����i����(u
isinstanceubytes_typesu	TypeErroru	__class__u__name__udivmodulenubytesurangeustructuunpacku_b32tab(usuquantauleftoveruencodeduiuc1uc2uc3((u-/usr/local/python-3.2/lib/python3.2/base64.pyu	b32encode�s8
	1c
Cs�t|t�s(td|jj��ntt|�d�\}}|r[tjd��n|dk	r�t|t�s�td|jj��nt|�dks�t
t|���t|idd6|d6�}n|r�|j
�}nd}tjd	|�}|r>t|jd
��}|dkr>|d|�}q>ng}d}d}	x�|D]�}
tj|
�}|dkr�td
��n|t|
|	>7}|	d8}	|	dkrW|jtjtd|d���d}d}	qWqWWtjtd|d��}|dkrd}n�|dkr5|dd�}nl|dkrT|dd�}nM|dkrs|dd�}n.|dkr�|dd�}ntjd��|j|�dj|�S(u]Decode a Base32 encoded byte string.

    s is the byte string to decode.  Optional casefold is a flag
    specifying whether a lowercase alphabet is acceptable as input.
    For security purposes, the default is False.

    RFC 3548 allows for optional mapping of the digit 0 (zero) to the
    letter O (oh), and for optional mapping of the digit 1 (one) to
    either the letter I (eye) or letter L (el).  The optional argument
    map01 when not None, specifies which letter the digit 1 should be
    mapped to (when map01 is not None, the digit 0 is always mapped to
    the letter O).  For security purposes the default is None, so that
    0 and 1 are not allowed in the input.

    The decoded byte string is returned.  binascii.Error is raised if
    the input is incorrectly padded or if there are non-alphabet
    characters present in the input.
    uexpected bytes, not %siuIncorrect paddingisOs0s1is(?P<pad>[=]*)$upadNi#uNon-base32 digit foundiu%010xuasciisiiiii����i����i����i����(u
isinstanceubytes_typesu	TypeErroru	__class__u__name__udivmodulenubinasciiuErroruNoneuAssertionErrorurepru
_translateuupperureusearchugroupu_b32revugetuappendu	unhexlifyubytesujoin(
usucasefoldumap01uquantauleftoverupadcharsumoupartsuaccushiftucuvalulast((u-/usr/local/python-3.2/lib/python3.2/base64.pyu	b32decode�sZ$ 

#
	
cCs;t|t�s(td|jj��ntj|�j�S(urEncode a byte string using Base16.

    s is the byte string to encode.  The encoded byte string is returned.
    uexpected bytes, not %s(u
isinstanceubytes_typesu	TypeErroru	__class__u__name__ubinasciiuhexlifyuupper(us((u-/usr/local/python-3.2/lib/python3.2/base64.pyu	b16encodescCsnt|t�s(td|jj��n|r=|j�}ntjd|�ratj	d��ntj
|�S(u�Decode a Base16 encoded byte string.

    s is the byte string to decode.  Optional casefold is a flag
    specifying whether a lowercase alphabet is acceptable as input.
    For security purposes, the default is False.

    The decoded byte string is returned.  binascii.Error is raised if
    s were incorrectly padded or if there are non-alphabet characters
    present in the string.
    uexpected bytes, not %ss	[^0-9A-F]uNon-base16 digit found(u
isinstanceubytes_typesu	TypeErroru	__class__u__name__uupperureusearchubinasciiuErroru	unhexlify(usucasefold((u-/usr/local/python-3.2/lib/python3.2/base64.pyu	b16decodesiLcCs�x~|jt�}|sPnxCt|�tkra|jtt|��}|sTPn||7}qWtj|�}|j|�qdS(u1Encode a file; input and output are binary files.N(ureadu
MAXBINSIZEulenubinasciiu
b2a_base64uwrite(uinputuoutputusunsuline((u-/usr/local/python-3.2/lib/python3.2/base64.pyuencode8scCs<x5|j�}|sPntj|�}|j|�qdS(u1Decode a file; input and output are binary files.N(ureadlineubinasciiu
a2b_base64uwrite(uinputuoutputulineus((u-/usr/local/python-3.2/lib/python3.2/base64.pyudecodeGscCs�t|t�s(td|jj��ng}xJtdt|�t�D]0}|||t�}|jt	j
|��qGWdj|�S(uTEncode a bytestring into a bytestring containing multiple lines
    of base-64 data.uexpected bytes, not %sis(u
isinstanceubytes_typesu	TypeErroru	__class__u__name__urangeulenu
MAXBINSIZEuappendubinasciiu
b2a_base64ujoin(usupiecesuiuchunk((u-/usr/local/python-3.2/lib/python3.2/base64.pyuencodebytesQscCs)ddl}|jdtd�t|�S(uLegacy alias of encodebytes().iNu7encodestring() is a deprecated alias, use encodebytes()i(uwarningsuwarnuDeprecationWarninguencodebytes(usuwarnings((u-/usr/local/python-3.2/lib/python3.2/base64.pyuencodestring\s	
cCs5t|t�s(td|jj��ntj|�S(u6Decode a bytestring of base-64 data into a bytestring.uexpected bytes, not %s(u
isinstanceubytes_typesu	TypeErroru	__class__u__name__ubinasciiu
a2b_base64(us((u-/usr/local/python-3.2/lib/python3.2/base64.pyudecodebytesdscCs)ddl}|jdtd�t|�S(uLegacy alias of decodebytes().iNu7decodestring() is a deprecated alias, use decodebytes()i(uwarningsuwarnuDeprecationWarningudecodebytes(usuwarnings((u-/usr/local/python-3.2/lib/python3.2/base64.pyudecodestringjs	
c	Cs|ddl}ddl}y)|j|jdd�d�\}}Wn`|jk
r�}z=|j|_t|�td|jd�|jd�WYdd}~XnXt}xj|D]b\}}|dkr�t}n|dkr�t	}n|d	kr�t	}n|d
kr�t
�dSq�W|r_|ddkr_t|dd��}|||jj�WdQXn||j
j|jj�dS(
uSmall main programiNiudeutu�usage: %s [-d|-e|-u|-t] [file|-]
        -d, -u: decode
        -e: encode (default)
        -t: encode and decode string 'Aladdin:open sesame'iu-eu-du-uu-tu-urb(usysugetoptuargvuerrorustderrustdoutuprintuexituencodeudecodeutestuopenubufferustdin(	usysugetoptuoptsuargsumsgufuncuouauf((u-/usr/local/python-3.2/lib/python3.2/base64.pyumainss0)
 			cCsdd}tt|��t|�}tt|��t|�}tt|��||ks`t�dS(NsAladdin:open sesame(uprinturepruencodebytesudecodebytesuAssertionError(us0us1us2((u-/usr/local/python-3.2/lib/python3.2/base64.pyutest�su__main__F(&u__doc__ureustructubinasciiu__all__ubytesu	bytearrayubytes_typesu
_translateuNoneu	b64encodeuFalseu	b64decodeustandard_b64encodeustandard_b64decodeuurlsafe_b64encodeuurlsafe_b64decodeu_b32alphabetusorteduitemsu_b32tabudictu_b32revu	b32encodeu	b32decodeu	b16encodeu	b16decodeuMAXLINESIZEu
MAXBINSIZEuencodeudecodeuencodebytesuencodestringudecodebytesudecodestringumainutestu__name__(((u-/usr/local/python-3.2/lib/python3.2/base64.pyu<module>sX			
				+O	
		
							

© 2025 GrazzMean