elliptic techniques
Project description
<h1>options</h1>
<b>installation</b>
<code>pip install ENCHUFLA
# pip install ENCHUFLA --upgrade
</code>
<b>start</b>
<code>ENCHUFLA KEG TAP --port 1110</code>
<b>build private key</b>
<code>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)
</code>
<b>build public key</b>
<code>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)
</code>
<b>SIGN</b>
<code>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)
</code>
<b>VERIFY</b>
<code>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)
</code>
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.7.tar.gz
(12.2 kB
view details)
Built Distribution
ENCHUFLA-0.1.7-py3-none-any.whl
(22.7 kB
view details)
File details
Details for the file ENCHUFLA-0.1.7.tar.gz
.
File metadata
- Download URL: ENCHUFLA-0.1.7.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 | 5d78958f3271343aaae11fb6d29ab0a1e83084fe2c7182fcb473d3b01f3cfa49 |
|
MD5 | 60e23d4f02c9e433084bda628f6c8632 |
|
BLAKE2b-256 | 24cc315a855bc333621f94e01e927a4394085177cb54d5e58ab931347830a190 |
File details
Details for the file ENCHUFLA-0.1.7-py3-none-any.whl
.
File metadata
- Download URL: ENCHUFLA-0.1.7-py3-none-any.whl
- Upload date:
- Size: 22.7 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 | 2cb350bbc7de29cb0873b149efff1059882e32c2bc3eb3c5a09c2f2fc383b0e9 |
|
MD5 | 91b02635fdb5e981fb792a8a2a493fe3 |
|
BLAKE2b-256 | 0b2128791bc2016fa56ca5482d40ab906d6015bfcb51ccc0abd7a89aaae8e215 |