elliptic techniques
Project description
INSTALLATION:
pip install ENCHUFLA
# pip install ENCHUFLA --upgrade
START:
ENCHUFLA KEG TAP --port 1110
BUILD PRIVATE KEY:
import requests
import json
from os.path import dirname, join, normpath
import os
r = requests.put (
'http://127.0.0.1:1110',
data = json.dumps ({
"START": "BUILD ED448 PRIVATE KEY",
"FIELDS": {
"SEED": "5986888b11358bf3d541b41eea5daece1c6eff64130a45fc8b9ca48f3e0e02463c99c5aedc8a847686d669b7d547c18fe448fc5111ca88f4e8",
"PATH": normpath (join (os.getcwd (), "ED448_PRIVATE_KEY.DER"))
}
})
)
print (r.text)
BUILD PUBLIC KEY:
import requests
import json
from os.path import dirname, join, normpath
import os
r = requests.put (
'http://127.0.0.1:1110',
data = json.dumps ({
"START": "BUILD ED448 PUBLIC KEY",
"FIELDS": {
"PRIVATE KEY PATH": normpath (join (os.getcwd (), "ED448_PRIVATE_KEY.DER")),
"PUBLIC KEY PATH": normpath (join (os.getcwd (), "ED448_PUBLIC_KEY.DER")),
"PUBLIC KEY FORMAT": "DER"
}
})
)
print (r.text)
SIGN:
import requests
import json
from os.path import dirname, join, normpath
import os
r = requests.put (
'http://127.0.0.1:1110',
data = json.dumps ({
"START": "ED448 SIGN",
"FIELDS": {
"PRIVATE KEY PATH": normpath (join (os.getcwd (), "ED448_PRIVATE_KEY.DER")),
"UNSIGNED BYTES PATH": normpath (join (os.getcwd (), "UNSIGNED.UTF8")),
"SIGNED BYTES PATH": normpath (join (os.getcwd (), "SIGNED.BYTES")),
}
})
)
print (r.text)
VERIFY:
import requests
import json
from os.path import dirname, join, normpath
import os
r = requests.put (
'http://127.0.0.1:1110',
data = json.dumps ({
"START": "ED448 VERIFY",
"FIELDS": {
"PUBLIC KEY PATH": normpath (join (os.getcwd (), "ED448_PUBLIC_KEY.DER")),
"UNSIGNED BYTES PATH": normpath (join (os.getcwd (), "UNSIGNED.UTF8")),
"SIGNED BYTES PATH": normpath (join (os.getcwd (), "SIGNED.BYTES")),
}
})
)
print (r.text)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ENCHUFLA-0.1.2.tar.gz
(12.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
ENCHUFLA-0.1.2-py3-none-any.whl
(23.3 kB
view details)
File details
Details for the file ENCHUFLA-0.1.2.tar.gz.
File metadata
- Download URL: ENCHUFLA-0.1.2.tar.gz
- Upload date:
- Size: 12.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
01e203ed86bdd60eb02f29f2edbb6ae27fb232d0261df0a04baad22c4b28d425
|
|
| MD5 |
e5c7f2da9f4cac2c42a6da74f8867bd7
|
|
| BLAKE2b-256 |
d411aaed698b7d43e42e3d5a0c42337b4bc3d28f659fd0d0dd2a03b8850b5f33
|
File details
Details for the file ENCHUFLA-0.1.2-py3-none-any.whl.
File metadata
- Download URL: ENCHUFLA-0.1.2-py3-none-any.whl
- Upload date:
- Size: 23.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
147e50d715fea7cfc583405fe2ddce85008818e70b954d13035da20fc6cffaee
|
|
| MD5 |
a7285220f1d352c4ef697f90b9f69177
|
|
| BLAKE2b-256 |
7f6fbbd7cdd1cd4678b4eb30d83fef8dc9d71fded6cb29715251a0fea865bd2f
|