Update readme to have version tag
This commit is contained in:
parent
e11c3d2733
commit
a5b6805b5f
@ -104,7 +104,7 @@ Master may be unstable, you should use the latest release tag. (checkout via git
|
||||
`$ sudo apt install python3-pip python3-dev tor`
|
||||
|
||||
* Have python3.7+, python3-pip, Tor (daemon, not browser) installed. python3-dev is recommended.
|
||||
* Clone the git repo: `$ git clone https://gitlab.com/beardog/onionr`
|
||||
* Clone the git repo: `$ git clone https://gitlab.com/beardog/onionr --tags`
|
||||
* cd into install direction: `$ cd onionr/`
|
||||
* Install the Python dependencies ([virtualenv strongly recommended](https://virtualenv.pypa.io/en/stable/userguide/)): `$ pip3 install --require-hashes -r requirements.txt`
|
||||
* (Optional): Install desktop notification dependencies: `$ pip3 install --require-hashes -r requirements-notifications.txt`
|
||||
|
@ -1,4 +1,8 @@
|
||||
import hashlib, nacl.hash
|
||||
import hashlib
|
||||
|
||||
import nacl.hash
|
||||
|
||||
|
||||
def sha3_hash(data):
|
||||
try:
|
||||
data = data.encode()
|
||||
@ -8,6 +12,7 @@ def sha3_hash(data):
|
||||
hasher.update(data)
|
||||
return hasher.hexdigest()
|
||||
|
||||
|
||||
def blake2b_hash(data):
|
||||
try:
|
||||
data = data.encode()
|
||||
|
Loading…
Reference in New Issue
Block a user