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.4.tar.gz
(12.1 kB
view details)
Built Distribution
ENCHUFLA-0.1.4-py3-none-any.whl
(23.3 kB
view details)
File details
Details for the file ENCHUFLA-0.1.4.tar.gz
.
File metadata
- Download URL: ENCHUFLA-0.1.4.tar.gz
- Upload date:
- Size: 12.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b35e213eb57fc9ae679508c5af844aad1b4af9da4ad85987938f8e6a39a0ad1 |
|
MD5 | c9aea4cff4cb44902ad653e668eb4c8b |
|
BLAKE2b-256 | e110c0b9b7fa8ff4401f287a18fb09b28550fa215d0203317b6c22791e00a1c4 |
File details
Details for the file ENCHUFLA-0.1.4-py3-none-any.whl
.
File metadata
- Download URL: ENCHUFLA-0.1.4-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 | 50bd4153f05817ded1202af819c2ff1d765322533dd98cdc722e893a45b97639 |
|
MD5 | 1e9139c6a6584f420ef22f63e1945235 |
|
BLAKE2b-256 | 76c991ceefb2d23bca1b5a0368a37f48f00b53b73ebc1e57874640286d9ebe35 |