Bravo! You have received a Mercantilism Diploma in "fortunes" from
the Orbital Convergence University International Air and Water
Embassy of the 🍊 Planet (the planet that is one ellipse further from
the Sun than Earth's ellipse).
You are now officially certified to include "fortunes" in your practice.
🎥 moneti
for motion picture use, etc.
description
This is an implementation of possibly one of the most
secure authentication mechanisms, an edward's elliptic curve 448 (EEC448).
obtain
[ZSH] pip install moneti
key generation
import moneti.modules.EEC448.private_key.creator as EEC448_private_key_creator
import moneti.modules.EEC448.public_key.creator as EEC448_public_key_creator
import pathlib
from os.path import dirname, join, normpath
import os
seed = "4986888b11358bf3d541b41eea5daece1c6eff64130a45fc8b9ca48f3e0e02463c99c5aedc8a847686d669b7d547c18fe448fc5111ca88f4e8"
format = "PEM"
private_key_path = normpath (join (pathlib.Path (__file__).parent.resolve (), "EEC448_private_key")) + "." + format
public_key_path = normpath (join (pathlib.Path (__file__).parent.resolve (), "EEC448_public_key")) + "." + format
private_key = EEC448_private_key_creator.create (seed, format, private_key_path)
private_key_instance = private_key ["instance"]
private_key_string = private_key ["string"]
public_key = EEC448_public_key_creator.create (
private_key_path = private_key_path,
public_key_path = public_key_path,
public_key_format = format
)
public_key_instance = public_key ["instance"]
public_key_string = public_key ["string"]
signatures and verification
signatures
import moneti.modules.EEC448.sign as sign
unsigned_bytes = b"{}"
signed = sign.start (
private_key_path = "",
unsigned_bytes = unsigned_bytes
)
signed_bytes = signed.bytes
verification
import moneti.modules.EEC448.verify as verify
unsigned_bytes = b"{}"
signed_bytes = signed.bytes
#
# returns a boolean
#
verification_status = verify.start (
public_key_path = "",
signed_bytes = signed_bytes,
unsigned_bytes = unsigned_bytes
)
assert (verification_status == True), verification_status
Metadata
Release files for moneti 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| moneti-1.0.3.tar.gz | 39.3 kB | Without provenance | Details for moneti-1.0.3.tar.gz |
Release files / moneti-1.0.3.tar.gz
| Download URL | moneti-1.0.3.tar.gz |
|---|---|
| Size | 39.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
79cfaa1d5bf2679cfcb4e5c4baa4a45441d01a0c963659baa8b9f14aa2b2be99
|
|
BLAKE2b-256 checksum How to use checksums |
9af5ce8dd3577e2994a21272190d04b3787a2fd502de204b857f1acb0ad2fc8c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.6
|
Security for moneti 1.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.