mirror of
https://github.com/aljazceru/nutshell.git
synced 2026-02-23 09:34:22 +01:00
Fix/nut 04 payment hash (#191)
* payment_hash -> hash * add aes encryption * urlsafe base64 for free * move files to crypto * use random hash instead of encryption * get rid of useless code * simplify
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import pytest
|
||||
|
||||
from cashu.core.b_dhke import hash_to_curve, step1_alice, step2_bob, step3_alice
|
||||
from cashu.core.secp import PrivateKey, PublicKey
|
||||
from cashu.core.crypto.b_dhke import hash_to_curve, step1_alice, step2_bob, step3_alice
|
||||
from cashu.core.crypto.secp import PrivateKey, PublicKey
|
||||
|
||||
|
||||
def test_hash_to_curve():
|
||||
|
||||
Reference in New Issue
Block a user