format
This commit is contained in:
parent
806b5e1880
commit
5ac4d3cc33
1 changed files with 2 additions and 1 deletions
|
@ -1,7 +1,8 @@
|
||||||
from base64 import b64decode, b64encode
|
from base64 import b64decode, b64encode
|
||||||
|
from hashlib import sha3_256
|
||||||
|
|
||||||
from cryptography.hazmat.primitives.asymmetric.ed25519 import Ed25519PrivateKey
|
from cryptography.hazmat.primitives.asymmetric.ed25519 import Ed25519PrivateKey
|
||||||
from cryptography.hazmat.primitives.serialization import Encoding, PrivateFormat, PublicFormat, NoEncryption
|
from cryptography.hazmat.primitives.serialization import Encoding, PrivateFormat, PublicFormat, NoEncryption
|
||||||
from hashlib import sha3_256
|
|
||||||
|
|
||||||
|
|
||||||
def generate_ed25519_key_pair(secret):
|
def generate_ed25519_key_pair(secret):
|
||||||
|
|
Loading…
Reference in a new issue