403Webshell
Server IP : 178.105.222.151  /  Your IP : 216.73.216.38
Web Server : nginx/1.28.3
System : Linux MNK 7.0.0-15-generic #15-Ubuntu SMP PREEMPT_DYNAMIC Wed Apr 22 16:06:43 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.5.4
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /lib/python3/dist-packages/josepy/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/josepy/__pycache__/b64.cpython-314.pyc
+
fH\i���6�Rt^RIt^RIHtRRltRRltR#)a`JOSE Base64`_ is defined as:

  - URL-safe Base64
  - padding stripped

.. _`JOSE Base64`:
    https://tools.ietf.org/html/draft-ietf-jose-json-web-signature-37#appendix-C

.. Do NOT try to call this module "base64", as it will "shadow" the
   standard library.

N)�Unionc�0�V^8�dQhR\R\/#���data�return)�bytes)�formats"�,/usr/lib/python3/dist-packages/josepy/b64.py�__annotate__rs��7�7�E�7�e�7�c��\V\4'g\R4h\P!V4PR4#)z�JOSE Base64 encode.

:param data: Data to be encoded.
:type data: bytes

:returns: JOSE Base64 string.
:rtype: bytes

:raises TypeError: if ``data`` is of incorrect type

zargument should be bytes�=)�
isinstancer�	TypeError�base64�urlsafe_b64encode�rstrip�rs&r
�	b64encoders9���d�E�"�"��2�3�3��#�#�D�)�0�0��6�6rc�R�V^8�dQhR\\\3,R\/#r)rr�str)r	s"r
rr#s'��I�I�E�%��*�%�I�%�Irc�@�\V\4'dVPR4pM!\V\
4'g\
R4h\P!VR^\V4^,,
,,4# \d
\	R4hi;i)a>JOSE Base64 decode.

:param data: Base64 string to be decoded. If it's unicode, then
             only ASCII characters are allowed.
:type data: bytes or unicode

:returns: Decoded data.
:rtype: bytes

:raises TypeError: if input is of incorrect type
:raises ValueError: if input is unicode with non-ASCII characters

�asciiz5unicode argument should contain only ASCII charactersz#argument should be a str or unicoder)
rr�encode�UnicodeEncodeError�
ValueErrorrrr�urlsafe_b64decode�lenrs&r
�	b64decoder#s����$����	V��;�;�w�'�D���e�
$�
$��=�>�>��#�#�D�4�1��D�	�A�
�3F�+G�$G�H�H��"�	V��T�U�U�	V�s�B�B)�__doc__r�typingrrr�rr
�<module>r#s�����7�"Ir

Youez - 2016 - github.com/yon3zu
LinuXploit