ripemd-hash


Nameripemd-hash JSON
Version 1.0.1 PyPI version JSON
download
home_pagehttps://github.com/symbol/ripemd
SummaryRipemd library for Python
upload_time2023-08-03 10:55:43
maintainer
docs_urlNone
authorSymbol Contributors
requires_python>=3.8
licenseBSD, Public Domain
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Ripemd
======

Given headache openssl devs gave to everyone, this is tiny ripemd module for python 3. Shamelessly ~~stolen~~ extracted from [pycryptodome](https://github.com/Legrandin/pycryptodome).

### Usage

Single call:
```py
from ripemd.ripemd160 import ripemd160  # import function

ripemd160(b'abc').hex() == '8eb208f7e05d987a9b044a8e98c6b087f15a0bfc'
ripemd160(b'a' * 1000000).hex() == '52783243c1697bdbe16d37f97f68f08325dc1528'
```

Update mode:
```py
from ripemd import ripemd160  # import module

h = ripemd160.new()
h.update(b'abc')
h.digest().hex() == '8eb208f7e05d987a9b044a8e98c6b087f15a0bfc'
```
            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/symbol/ripemd",
    "name": "ripemd-hash",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "",
    "author": "Symbol Contributors",
    "author_email": "contributors@symbol.dev",
    "download_url": "https://files.pythonhosted.org/packages/73/22/f95f4dd50f1e1352d73c97c61291b8ef6f904c991e2cec1e8b384868cb04/ripemd-hash-1.0.1.tar.gz",
    "platform": "Posix; MacOS X; Windows",
    "description": "Ripemd\n======\n\nGiven headache openssl devs gave to everyone, this is tiny ripemd module for python 3. Shamelessly ~~stolen~~ extracted from [pycryptodome](https://github.com/Legrandin/pycryptodome).\n\n### Usage\n\nSingle call:\n```py\nfrom ripemd.ripemd160 import ripemd160  # import function\n\nripemd160(b'abc').hex() == '8eb208f7e05d987a9b044a8e98c6b087f15a0bfc'\nripemd160(b'a' * 1000000).hex() == '52783243c1697bdbe16d37f97f68f08325dc1528'\n```\n\nUpdate mode:\n```py\nfrom ripemd import ripemd160  # import module\n\nh = ripemd160.new()\nh.update(b'abc')\nh.digest().hex() == '8eb208f7e05d987a9b044a8e98c6b087f15a0bfc'\n```",
    "bugtrack_url": null,
    "license": "BSD, Public Domain",
    "summary": "Ripemd library for Python",
    "version": "1.0.1",
    "project_urls": {
        "Homepage": "https://github.com/symbol/ripemd"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7322f95f4dd50f1e1352d73c97c61291b8ef6f904c991e2cec1e8b384868cb04",
                "md5": "343cf1d0f406330ba4fdd89a1917bcfb",
                "sha256": "de2fdacca95e262ce1338e5595c20195ec51bef04732041e9c16789ec8254f3f"
            },
            "downloads": -1,
            "filename": "ripemd-hash-1.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "343cf1d0f406330ba4fdd89a1917bcfb",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 18668,
            "upload_time": "2023-08-03T10:55:43",
            "upload_time_iso_8601": "2023-08-03T10:55:43.865355Z",
            "url": "https://files.pythonhosted.org/packages/73/22/f95f4dd50f1e1352d73c97c61291b8ef6f904c991e2cec1e8b384868cb04/ripemd-hash-1.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-08-03 10:55:43",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "symbol",
    "github_project": "ripemd",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "ripemd-hash"
}
        
Elapsed time: 0.23194s