https://github.com/bryant/pyblake2
https://github.com/bryant/pyblake2
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/bryant/pyblake2
- Owner: bryant
- License: mit
- Created: 2013-04-06T07:51:52.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2013-04-06T18:15:47.000Z (about 13 years ago)
- Last Synced: 2023-04-09T22:19:09.641Z (about 3 years ago)
- Language: Python
- Size: 145 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pyblake2
Implementation of [BLAKE2](http://blake2.net) in pure Python.
## Installation
```shell
$ cd /path/to/pyblake2
$ py.test # tests require pytest
$ python setup.py install
```
## Usage
```python
>>> from pyblake2 import blake2
>>> blake2("a random string")
'e9a5452806b05469d9882d0e625c7ea73a5b5f7d678e0ecc0c0b002a62c14c459ab17a300f73994d8090d3c8679756339ad46abe705a4e378fbeca22c2a270a1'
```
## TODO
- speed it up
- keyed mode
- blake2s
- salts
- tree hashing