Ripemd library for Python
Project description
Ripemd
Given headache openssl devs gave to everyone, this is tiny ripemd module for python 3. Shamelessly stolen extracted from pycryptodome.
Usage
Single call:
from ripemd.ripemd160 import ripemd160 # import function
ripemd160(b'abc').hex() == '8eb208f7e05d987a9b044a8e98c6b087f15a0bfc'
ripemd160(b'a' * 1000000).hex() == '52783243c1697bdbe16d37f97f68f08325dc1528'
Update mode:
from ripemd import ripemd160 # import module
h = ripemd160.new()
h.update(b'abc')
h.digest().hex() == '8eb208f7e05d987a9b044a8e98c6b087f15a0bfc'
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ripemd-hash-1.0.0.tar.gz
(18.7 kB
view hashes)
Built Distribution
Close
Hashes for ripemd_hash-1.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec798dae399c16f9b2bbf63ce157997a1c52ab22b2b9418b275201b13554e109 |
|
MD5 | 1234f26fcc183fbec844d18108b842de |
|
BLAKE2b-256 | 307eba2e562eede2800a9c4e6d89a347c7d69b057f48616edef865ef9091ce92 |