• R/O
  • HTTP
  • SSH
  • HTTPS

pybtm: 提交

Python3 implementation of the Bytom protocol. https://pypi.org/project/pybtm/


Commit MetaInfo

修订版aab48a7cae1df119609065cdb216e09a8f9aaee5 (tree)
时间2019-04-02 11:41:53
作者Chengcheng Zhang <943420582@qq.c...>
CommiterChengcheng Zhang

Log Message

update 0.1.6

更改概述

差异

--- a/pybtm/__init__.py
+++ b/pybtm/__init__.py
@@ -1,2 +1,2 @@
11 name = "pybtm"
2-version = "0.1.3"
\ No newline at end of file
2+version = "0.1.6"
\ No newline at end of file
--- a/pybtm/key.py
+++ b/pybtm/key.py
@@ -8,7 +8,7 @@ from .utils import *
88
99
1010 def get_entropy():
11- entropy = random.randint(0, 2**128)
11+ entropy = random.randint(0, 2**128-1)
1212 entropy_hexstr = entropy.to_bytes(16, byteorder='big').hex()
1313 return entropy_hexstr
1414
--- a/setup.py
+++ b/setup.py
@@ -5,7 +5,7 @@ with open("README.md", "r") as fh:
55
66 setuptools.setup(
77 name="pybtm",
8- version="0.1.3",
8+ version="0.1.6",
99 author="zcc0721",
1010 author_email="zcc0721@foxmail.com",
1111 description="Python3 implementation of the Bytom protocol.",
Show on old repository browser