keccaky


Namekeccaky JSON
Version 0.3.1 PyPI version JSON
download
home_pagehttps://github.com/olivmath/keccaky.git
SummarySecure and easy-to-use keccak
upload_time2024-01-20 05:52:47
maintainer
docs_urlNone
authorLucas Oliveira
requires_python>=3.8,<4.0
licenseMIT
keywords keccak ethereum sha3 hash
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Keccaky

Secure and easy-to-use keccak

> **✅ ready for production!!!**

## Roadmap

- [x] Create Keccak 256 hash
- [x] Create massive tests agains pycryptodome (575 tests)
- [x] Create benchmark tests agains pycryptodome
- [x] API made easy for client
- [x] Docs for dev
- [ ] Re-write Keccak algorithm in Rust using FFI

## Docs

**INSTALL**

```
pip install keccaky
```

```
poetry add keccaky
```

**USE**

```python
from keccaky import hash_it_bytes
from keccaky import ethereum_hash
from keccaky import hash_it


assert hash_it_bytes("keccaky".encode()).hex() == "ff7e4a2e488ac0d8ed435b41979a0c1defeae30231dc5338a1b3a39c86adfd3c"

assert ethereum_hash("keccaky") == "0xff7e4a2e488ac0d8ed435b41979a0c1defeae30231dc5338a1b3a39c86adfd3c"

assert hash_it("keccaky") == "ff7e4a2e488ac0d8ed435b41979a0c1defeae30231dc5338a1b3a39c86adfd3c"
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/olivmath/keccaky.git",
    "name": "keccaky",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8,<4.0",
    "maintainer_email": "",
    "keywords": "keccak,ethereum,sha3,hash",
    "author": "Lucas Oliveira",
    "author_email": "olivmath@protonmail.com",
    "download_url": "https://files.pythonhosted.org/packages/d0/52/cc17da8b833c3d2c1a9b13bf46bc1618e6f1b2a515e23a2f252bf3511e67/keccaky-0.3.1.tar.gz",
    "platform": null,
    "description": "# Keccaky\n\nSecure and easy-to-use keccak\n\n> **\u2705 ready for production!!!**\n\n## Roadmap\n\n- [x] Create Keccak 256 hash\n- [x] Create massive tests agains pycryptodome (575 tests)\n- [x] Create benchmark tests agains pycryptodome\n- [x] API made easy for client\n- [x] Docs for dev\n- [ ] Re-write Keccak algorithm in Rust using FFI\n\n## Docs\n\n**INSTALL**\n\n```\npip install keccaky\n```\n\n```\npoetry add keccaky\n```\n\n**USE**\n\n```python\nfrom keccaky import hash_it_bytes\nfrom keccaky import ethereum_hash\nfrom keccaky import hash_it\n\n\nassert hash_it_bytes(\"keccaky\".encode()).hex() == \"ff7e4a2e488ac0d8ed435b41979a0c1defeae30231dc5338a1b3a39c86adfd3c\"\n\nassert ethereum_hash(\"keccaky\") == \"0xff7e4a2e488ac0d8ed435b41979a0c1defeae30231dc5338a1b3a39c86adfd3c\"\n\nassert hash_it(\"keccaky\") == \"ff7e4a2e488ac0d8ed435b41979a0c1defeae30231dc5338a1b3a39c86adfd3c\"\n```\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Secure and easy-to-use keccak",
    "version": "0.3.1",
    "project_urls": {
        "Documentation": "https://pypi.org/project/keccaky/",
        "Homepage": "https://github.com/olivmath/keccaky.git",
        "Repository": "https://github.com/olivmath/keccaky.git"
    },
    "split_keywords": [
        "keccak",
        "ethereum",
        "sha3",
        "hash"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "afbee68c3002fe2ae5ef2b2d108c80e80e85bf546d3d9e13000b8c7eee2d0b28",
                "md5": "d4de9bcfaf3d0b03c1361a0302ac99cd",
                "sha256": "1e0ef15f1d9426d44ec53e130ba81fa7f78acddcd2f6fb007c03269e267f2895"
            },
            "downloads": -1,
            "filename": "keccaky-0.3.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "d4de9bcfaf3d0b03c1361a0302ac99cd",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8,<4.0",
            "size": 5193,
            "upload_time": "2024-01-20T05:52:46",
            "upload_time_iso_8601": "2024-01-20T05:52:46.353039Z",
            "url": "https://files.pythonhosted.org/packages/af/be/e68c3002fe2ae5ef2b2d108c80e80e85bf546d3d9e13000b8c7eee2d0b28/keccaky-0.3.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d052cc17da8b833c3d2c1a9b13bf46bc1618e6f1b2a515e23a2f252bf3511e67",
                "md5": "9b4973aed0f0423d8af3f613f0d5dfc2",
                "sha256": "d0559f2c99d96d116b0ec963779bc1c9e584de515743b61e8c5c246a04e6fde9"
            },
            "downloads": -1,
            "filename": "keccaky-0.3.1.tar.gz",
            "has_sig": false,
            "md5_digest": "9b4973aed0f0423d8af3f613f0d5dfc2",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8,<4.0",
            "size": 4548,
            "upload_time": "2024-01-20T05:52:47",
            "upload_time_iso_8601": "2024-01-20T05:52:47.933641Z",
            "url": "https://files.pythonhosted.org/packages/d0/52/cc17da8b833c3d2c1a9b13bf46bc1618e6f1b2a515e23a2f252bf3511e67/keccaky-0.3.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-20 05:52:47",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "olivmath",
    "github_project": "keccaky",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "keccaky"
}
        
Elapsed time: 0.16566s