{"id":24787943,"url":"https://github.com/nitsc/chrayptor","last_synced_at":"2025-08-03T18:33:41.874Z","repository":{"id":273347211,"uuid":"919401583","full_name":"nitsc/chrayptor","owner":"nitsc","description":"A command-line communication software focused on human rights, utilizing advanced algorithms to protect your privacy and security. It’s the international version of Chraypt, with integrated Tor support.","archived":false,"fork":false,"pushed_at":"2025-01-21T05:41:22.000Z","size":114,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-29T16:14:21.097Z","etag":null,"topics":["aes","argon2","blake3","curve25519","decrypt","digital-signature","ecc","ecdh","eddsa","encrypt","hash","p2p","p2p-chat","python3","sha3-512","sha512","sm4","socks5","tor","tor-network"],"latest_commit_sha":null,"homepage":"https://github.com/nitsc/Chraypt/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nitsc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"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}},"created_at":"2025-01-20T10:23:38.000Z","updated_at":"2025-01-21T05:41:25.000Z","dependencies_parsed_at":"2025-01-20T11:28:58.595Z","dependency_job_id":"03c191dc-e1eb-4861-a3d2-63fe9400bef9","html_url":"https://github.com/nitsc/chrayptor","commit_stats":null,"previous_names":["nitsc/chrayptor"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nitsc%2Fchrayptor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nitsc%2Fchrayptor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nitsc%2Fchrayptor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nitsc%2Fchrayptor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nitsc","download_url":"https://codeload.github.com/nitsc/chrayptor/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245258218,"owners_count":20585977,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["aes","argon2","blake3","curve25519","decrypt","digital-signature","ecc","ecdh","eddsa","encrypt","hash","p2p","p2p-chat","python3","sha3-512","sha512","sm4","socks5","tor","tor-network"],"created_at":"2025-01-29T16:14:22.108Z","updated_at":"2025-03-24T11:14:43.507Z","avatar_url":"https://github.com/nitsc.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Overview\n![ChraypTor](https://github.com/user-attachments/assets/4a0bd819-895b-455a-8827-003d51373ecb)\nA command-line communication software focused on human rights, utilizing advanced algorithms to protect your privacy and security. It’s the international version of Chraypt, with integrated Tor support. See https://github.com/nitsc/chraypt for China special edition, Chraypt.\n\n# Development Objectives\n## Overview\nWe firmly believe that everyone has their own human rights.\n## Program Dev\n- Developers must adhere to the principles of human rights\n- Prohibit the collection of all information about Chrayptor users.\n- Adhere to Chrayptor's P2P, E2E, decentralized, and Tor features.\n- Adhere to the security and privacy of Chrayptor.\n- Adhere to the principles of high open source and free modification of source code.\n\n# Objective Standard\n## Languages\n- **Rust**: After Python prototyping, rewrite Chrayptor in Rust.\n- **Python**: may retain some Python parts.\n- **Go**: possibly use Chrayptor for key parts of network concurrency.\n## Algorithms\n### Symmetric encryption: used to encrypt large amounts of data, fast speeds\n- **AES** (Advanced Encryption Standard): widely used in communication protocols (e.g., TLS) **(implemented)**\n- **ChaCha20**: a stream cipher, often used in conjunction with Poly1305 message authentication codes to provide efficient and secure encryption and authentication\n- **SM4**: a commercial cryptographic algorithm released by the State Cryptography Administration of China (SCCA) and widely used in the financial and government sectors in China **(Implemented)**\n\n### Asymmetric encryption\n- **ECC** (Elliptic Curve Cryptography): more efficient than RSA, suitable for mobile devices **(Implemented)**\n- **SM2**: an elliptic curve public key cryptography algorithm standard published by the State Cryptography Administration of China (SCCA) **(canceled, because it is not widely used and documented at present)**\n- **NTRU** (Nth Degree Truncated Polynomial Ring Units): a Lattice-based public key cryptography algorithm.\n- **Lattice-based Cryptography**: Lattice-based Cryptography\n- **Code-based Cryptography**: is a post-quantum cryptography approach that uses the difficulties of error-correcting code theory to construct cryptosystems\n\n### Key exchange algorithms\n- **Diffie-Hellman** (DH): used to securely generate shared keys **(canceled because of the high efficiency of the key ECDH and the low quantum security)**\n- **ECDH** (Elliptic Curve Diffie-Hellman): based on elliptic curves, more efficient **(implemented)**\n- **Kyber**: is a lattice-based key exchange protocol that is a candidate for the NIST Post-Quantum Cryptography Standardization Project\n- **Curve25519**: is an elliptic curve for efficient and secure cryptographic protocols, especially in the implementation of public-key cryptography and key exchange protocols **(Implemented)**\n- **CSIDH** (Commutative Supersingular Isogeny Diffie-Hellman) is a post-quantum key exchange protocol based on the homology of supersingular elliptic curves **(canceled, since there is currently no mature CSIDH library)**\n\n### Digital signature algorithms\n- **ECDSA** (Elliptic Curve Digital Signature Algorithm): is a widely used digital signature algorithm based on elliptic curve cryptography (ECC)\n- **SM2**: based on the elliptic curve discrete logarithm puzzle\n- **EdDSA** (Edwards-curve Digital Signature Algorithm): digital signature algorithm based on Edwards curves **(implemented)**\n\n### Hash Algorithm\n- **SHA3-512**, **SHA2-512**,: high security, widely used for data integrity verification, signature verification **(Implemented)**\n- **Argon2**: specifically designed to resist brute-force attacks on hardware acceleration such as GPUs and ASICs **(Implemented)**\n- **BLAKE3**: very modern and high performance **(Implemented)**\n- **SM3**: standard for cryptographic hashing algorithms published by the Chinese State Cryptography Bureau **(canceled, as it is not widely used and documented at the moment)**\n\n### Random number generation algorithm\n- **CSPRNG** (Cryptographically Secure Pseudo-Random Number Generator) **(realized)**\n\n### Communication protocols\n- **TLS**: (Transport Layer Security): implements encrypted transport, authentication **(implemented, but client-side authentication is temporarily disabled because SSL does not trust self-signed certificates)**\n- **Noise Protocol Framework** (Transport Layer Security)： for modern communication software\n- **Tor**: access to the Tor network **(Implemented)**\n- **I2P**: Access to I2P networks.\n\n### Zero Knowledge Proofs\n- zk-SNARKs, zk-STARKs\n\n# Using Instructions\n## Install and set Tor\n### Ubuntu based Linux\n```bash\nsudo apt update\nsudo apt install tor\n```\n### Windows\n- Download and Install [Tor Expert Bundle](https://www.torproject.org/download/tor/).\n- Findout the tor.exe, donnot run it.\n\n## Set up the Tor HiddenService\n### Find torrc out\n- Linux: /etc/tor/torrc\n- Windows: C:\\Users\\\u003cYourUserName\u003e\\AppData\\Roaming\\tor\\torrc\nIf ther isn't any torrc here, try to build file 'torrc'\n### Edit torrc\nWrite this to torrc:\n```torrc\nHiddenServiceDir \"path\\\\to\\\\your\\\\tor-expert-bundle-windows-x86_64-14.0.4\\\\tor\\\\hidden_service\\\\\"\nHiddenServicePort 80 127.0.0.1:52000\nControlPort 9051\nCookieAuthentication 1\nSocksPort 9050\n```\n\n## Restart Tor\n### Linux\n```bash\nsudo systemctl restart tor\n```\n### Windows\nStop and Restart tor.exe\n\n## Find Host Address\n### Linux\n/path/to/hidden/service/directory/hostname\n### Windows\npath/to/hidden/service/directory/hostname\n\n## Test\nRun torserver.py and cilent.py, enter the hostname(.onion).\nThen you can connect to server.\nTalk in safety and privacy!\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnitsc%2Fchrayptor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnitsc%2Fchrayptor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnitsc%2Fchrayptor/lists"}