{"id":33152918,"url":"https://github.com/liesware/coherence","last_synced_at":"2025-11-15T22:00:37.252Z","repository":{"id":46969401,"uuid":"126880077","full_name":"liesware/coherence","owner":"liesware","description":"Coherence is cryptographic server for modern web apps","archived":false,"fork":false,"pushed_at":"2023-12-29T13:50:35.000Z","size":36700,"stargazers_count":33,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-04-14T20:58:04.371Z","etag":null,"topics":["aes","cipher","crytography","digital-signature","ecc","hash","hmac","json","ntru","post-quantum-cryptography","public-key-cryptography","qtesla","rsa","sha3","tcp-server"],"latest_commit_sha":null,"homepage":"https://3vidence.com","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/liesware.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}},"created_at":"2018-03-26T19:33:54.000Z","updated_at":"2024-01-18T02:00:19.000Z","dependencies_parsed_at":"2023-12-29T13:30:23.819Z","dependency_job_id":"a1ea8137-e894-4d52-8da2-43eac8d6a21a","html_url":"https://github.com/liesware/coherence","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/liesware/coherence","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liesware%2Fcoherence","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liesware%2Fcoherence/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liesware%2Fcoherence/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liesware%2Fcoherence/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/liesware","download_url":"https://codeload.github.com/liesware/coherence/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liesware%2Fcoherence/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":284628148,"owners_count":27037491,"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","status":"online","status_checked_at":"2025-11-15T02:00:06.050Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["aes","cipher","crytography","digital-signature","ecc","hash","hmac","json","ntru","post-quantum-cryptography","public-key-cryptography","qtesla","rsa","sha3","tcp-server"],"created_at":"2025-11-15T19:00:46.108Z","updated_at":"2025-11-15T22:00:37.234Z","avatar_url":"https://github.com/liesware.png","language":"C++","funding_links":[],"categories":["Tools"],"sub_categories":["Standalone"],"readme":"# Welcome to (Cryptoserver)\n\u003cpre\u003e\n _______  _____  _     _ _______  ______ _______ __   _ _______ _______\n |       |     | |_____| |______ |_____/ |______ | \\  | |       |______\n |_____  |_____| |     | |______ |    \\_ |______ |  \\_| |_____  |______\n\n \u003c/pre\u003e\n\n\"Privacy is the power to selectively reveal oneself to the world\". Eric Hughes\n- https://www.activism.net/cypherpunk/manifesto.html\n- http://www.coderfreedom.org/\n- https://pastebin.com/t6B6fhcv\n\n# Coherence\n\n\"Suitable connection or dependence, consistency\" (in narrative or argument), also more literally \"act or state of sticking or cleaving of one thing to another\".\n\n\n## Abstract\nCoherence (ko.eˈɾen.s) performs and offloads cryptography operations with a focus on interoperability, flexibility and  simplicity. Coherence gives an interface for modern cryptographic algorithms which is inspired by Openssl, it is a REST API in order to be used by any language, in other words Coherence minimizes development time and code complexity. Some of the algorithms offered by Coherence are AES and AES candidates, Sosemanuk, SHA* family, HMAC, DH, RSA, DSA, ECC, NTRU.\n\n\n**This technology helps us to bring post-quantum cryptography to modern web apps.**\n\n\n## Features\n\n* Hash functions: SHA3, SHA2, SHA1, WHIRLPOOL, Blake2b, SipHash.\n* Password-hashing function: Argon2\n* Stream ciphers: Sosemanuk, Salsa20/20.\n* Block ciphers: AES, RC6, MARS, Twofish, Serpent, CAST-256, Camellia, SPECK, SIMECK.\n* Block ciphers modes: CTR, GCM.\n* Message authentication codes: HMAC(SHA3, SHA2, SHA1, WHIRLPOOL),  CMAC(AES, RC6, MARS, Twofish, Serpent, CAST-256, Camellia), VMAC(AES, RC6, MARS, Twofish, Serpent, CAST-256, Camellia), Poly1305.\n* RSA: Key generation, digital signature, encryption.\n* DSA: Key generation, digital signature.\n* DH: Key generation, key exchange (rfc and custom parameters).\n* ECC: Key generation, ECIES, ECDSA, ECDH, Curve25519, ECNR.\n* Post-Quantum Cryptography sign: Dilithium, SPHINCS+, Rainbow.\n* Post-Quantum Cryptography kem: NTRU, Kyber, Saber.\n\n**Be careful Post-Quantum Cryptography is an standard in process.**\n**Tested only in Ubuntu 24.04**\n\n## Quickstart (Docker image)\n\n```bash\ndocker run -d liesware/coherence:latest /usr/bin/coherence\n```\nTest:\n```python\n#!/usr/bin/env python3\n\nimport requests\nimport json\nimport os\nimport binascii\n\ndef sending(message):\n    url = 'http://localhost:6613/'\n    response = requests.post(url, data=message)\n    print(response.content)\n\ndata_js = '{\"version\":1,\"algorithm\":\"SHA3_512\",\"type\":\"string\",\"plaintext\":\"Hello world!\"}'\nsending(data_js)\n\n```\nWe are getting SHA3-512 for \"Hello world!\" string.\n\n## Examples\n\n_You can use your favorite language, we are using python only for illustrative examples_\n\nargon2.py  block.py  cmac.py  dh.py  dsa.py  ecc.py  hash.py  hmac.py  ntru.py  poly1305.py  qtesla.py  rand.py  rsa.py  stream.py  vmac.py\n\nThe code is very simple and with basic programming knowledge you should be able to understand it. You only need to understand python and REST API\n\n\n## Test\non ~/coherence02/\n\nTerminal 1\n* watch python ps_mem.py -p $(pidof coherence)\n\nTerminal 2\n* cd bin/ \u0026\u0026 ./coherence 0.0.0.0 6613\n\nTerminal 3\n* cd examples/ \u0026\u0026 sh all.sh\n\n## Wiki\n[RTFW](https://en.wikipedia.org/wiki/RTFM)\n\nPlease see https://coherence.3vidence.com/\n\n## Target\n\n* Be cryptoserver (server dedicated for cryptography)\n* Improve security in L7 (Cryptography for webapps)\n\n## Version\nCurrent version Essence.\n\n## Branches\n\n* Master: Stable, standard and experimental algorithms.\n\n## Bugs\n\nThrough Github\n\n## Contact\nWe will be so happy to listent to you, only concise and well-reasoned feedback are welcome. please be critic with yourself before\nwriting.\n\n_coherence 4t 3vidence d0t com_\n\n## Webpage\n\n[Link](https://www.3vidence.com/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliesware%2Fcoherence","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fliesware%2Fcoherence","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliesware%2Fcoherence/lists"}