OSDN Git Service
(root)
/
bytom
/
bytom-kit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fcdc4dc
)
update
author
Chengcheng Zhang
<943420582@qq.com>
Wed, 26 Dec 2018 02:18:55 +0000
(10:18 +0800)
committer
Chengcheng Zhang
<943420582@qq.com>
Wed, 26 Dec 2018 02:18:55 +0000
(10:18 +0800)
app/model/key.py
patch
|
blob
|
history
diff --git
a/app/model/key.py
b/app/model/key.py
index
3d2bbdf
..
bcd30b7
100644
(file)
--- a/
app/model/key.py
+++ b/
app/model/key.py
@@
-4,6
+4,7
@@
import pbkdf2
import hmac
import ed25519
from app.model.signature import *
+from app.model.edwards25519 import *
# create_key create 128 bits entropy
def create_entropy():
@@
-150,6
+151,8
@@
def xprv_to_xpub(xprv_str):
# child_xprv_str = xprv_str
# return child_xprv_str
+
+
# xprv_to_expanded_private_key create expanded private key from xprv
# You can verify or get more test data from: https://gist.github.com/zcc0721/ef0bf2e69f5e92b29d716981f2a8fe7d
# test data 1: