{"id":39781030,"url":"https://github.com/colinxu2020/slhdsa","last_synced_at":"2026-01-18T12:03:21.787Z","repository":{"id":247355749,"uuid":"825620916","full_name":"colinxu2020/slhdsa","owner":"colinxu2020","description":"The pure python implement of the slh-dsa algorithm.","archived":false,"fork":false,"pushed_at":"2025-11-26T02:30:45.000Z","size":373,"stargazers_count":12,"open_issues_count":1,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-11-29T05:30:47.469Z","etag":null,"topics":["crypto","cryptography","fips205","postquantum","postquantumcryptography","pqc","pqcrypto","python","python-crypto","python-cryptography","python3","slh","slh-dsa","sphincs","sphincs-plus","sphincs-shake"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/slh-dsa","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/colinxu2020.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-07-08T07:40:19.000Z","updated_at":"2025-11-26T02:30:48.000Z","dependencies_parsed_at":"2025-02-10T07:29:22.749Z","dependency_job_id":"05e3447f-2bb1-4096-9e3c-066621d52cc9","html_url":"https://github.com/colinxu2020/slhdsa","commit_stats":null,"previous_names":["colinxu2020/slhdsa"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/colinxu2020/slhdsa","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colinxu2020%2Fslhdsa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colinxu2020%2Fslhdsa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colinxu2020%2Fslhdsa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colinxu2020%2Fslhdsa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/colinxu2020","download_url":"https://codeload.github.com/colinxu2020/slhdsa/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colinxu2020%2Fslhdsa/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28535310,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T10:13:46.436Z","status":"ssl_error","status_checked_at":"2026-01-18T10:13:11.045Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["crypto","cryptography","fips205","postquantum","postquantumcryptography","pqc","pqcrypto","python","python-crypto","python-cryptography","python3","slh","slh-dsa","sphincs","sphincs-plus","sphincs-shake"],"created_at":"2026-01-18T12:03:21.137Z","updated_at":"2026-01-18T12:03:21.740Z","avatar_url":"https://github.com/colinxu2020.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SLH-DSA\n[![CI](https://github.com/colinxu2020/slhdsa/actions/workflows/ci.yml/badge.svg)](https://github.com/colinxu2020/slhdsa/actions/workflows/ci.yml)\n[![codecov](https://codecov.io/github/colinxu2020/slhdsa/graph/badge.svg?token=OAQXHYD9TM)](https://codecov.io/github/colinxu2020/slhdsa)\n![PyPI - Downloads](https://img.shields.io/pypi/dm/slh-dsa)\n![GitHub License](https://img.shields.io/github/license/colinxu2020/slhdsa)\n\nThe SLH-DSA project implements the stateless-hash digital signing algorithm(standardizing fips 205, adopted on Sphincs-Plus algorithm) in pure Python.\n\nThis project offers those future:\n1. 🍻 Zero dependencies!\n2. 🏷️ 100% type hint for all the codes!\n3. ✅ Complete 100% test coverage!\n4. 🔖 Support any newer python version!\n5. ⚒️ Design for Human!\n6. 🎉 More futures coming soon!\n\n\nThe functionality is extremely simple to use, as demonstrated by the following example:\n```python\nfrom slhdsa import KeyPair, shake_256f, PublicKey\n\nkp = KeyPair.gen(shake_256f)  # generate the keypair\nsig = kp.sign(b\"Hello World!\")  # sign the message\nkp.verify(b\"Hello World!\", sig)  # -\u003e True\nkp.verify(b\"Hello World!\", b\"I'm the hacker!\") # -\u003e False\nkp.verify(b\"hello world!\", sig)  # -\u003e False\nsig = kp.sign(b\"Hello World!\", randomize = True)  # sign the message randomized\nkp.verify(b\"Hello World!\", sig)  # -\u003e True\n\ndigest = kp.pub.digest()  # generate the digest of the public key so that other device could verify the sign\npub = PublicKey.from_digest(digest, shake_256f)  # recovery public key\npub.verify(b\"Hello World!\", sig)  # -\u003e True\npub.verify(b\"Hello World\", sig)  # -\u003e False\n```\n\n## Copyright\n\nCopyright(c) Colinxu2020 2024-2025 All Rights Reserved.\n\nThis software is licensed under GNU Lesser General Public License Version 3 or later(on your option).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcolinxu2020%2Fslhdsa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcolinxu2020%2Fslhdsa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcolinxu2020%2Fslhdsa/lists"}