Python3 implementation of the Bytom protocol. https://pypi.org/project/pybtm/
Revision | aab48a7cae1df119609065cdb216e09a8f9aaee5 (tree) |
---|---|
Zeit | 2019-04-02 11:41:53 |
Autor | Chengcheng Zhang <943420582@qq.c...> |
Commiter | Chengcheng Zhang |
update 0.1.6
@@ -1,2 +1,2 @@ | ||
1 | 1 | name = "pybtm" |
2 | -version = "0.1.3" | |
\ No newline at end of file | ||
2 | +version = "0.1.6" | |
\ No newline at end of file |
@@ -8,7 +8,7 @@ from .utils import * | ||
8 | 8 | |
9 | 9 | |
10 | 10 | def get_entropy(): |
11 | - entropy = random.randint(0, 2**128) | |
11 | + entropy = random.randint(0, 2**128-1) | |
12 | 12 | entropy_hexstr = entropy.to_bytes(16, byteorder='big').hex() |
13 | 13 | return entropy_hexstr |
14 | 14 |
@@ -5,7 +5,7 @@ with open("README.md", "r") as fh: | ||
5 | 5 | |
6 | 6 | setuptools.setup( |
7 | 7 | name="pybtm", |
8 | - version="0.1.3", | |
8 | + version="0.1.6", | |
9 | 9 | author="zcc0721", |
10 | 10 | author_email="zcc0721@foxmail.com", |
11 | 11 | description="Python3 implementation of the Bytom protocol.", |