This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""A pure Python implementation of Curve25519 | |
This module supports both a low-level interface through curve25519(base_point, secret) | |
and curve25519_base(secret) that take 32-byte blocks of data as inputs and a higher | |
level interface using the X25519PrivateKey and X25519PublicKey classes that are | |
compatible with the classes in cryptography.hazmat.primitives.asymmetric.x25519 with | |
the same names. | |
""" | |
# By Nicko van Someren, 2021. This code is released into the public domain. |