Skip to main content

No project description provided

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)

Project details


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.0.tar.gz (11.9 kB view details)

Uploaded Source

File details

Details for the file ENCHUFLA-0.1.0.tar.gz.

File metadata

  • Download URL: ENCHUFLA-0.1.0.tar.gz
  • Upload date:
  • Size: 11.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for ENCHUFLA-0.1.0.tar.gz
Algorithm Hash digest
SHA256 de54754273139cf38b572385e805a5396e55984c696579975f5fe5551b69c89e
MD5 423ab45199eeded274ecbd5ab21fd34b
BLAKE2b-256 edb18d0e326b38c88aa62fc91c3326f0311c940a3346cc5353a1c9f100390160

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page