Coherence is cryptographic server for modern web apps
38
stars
354
commits
C++
primary language
May 30, 2026
updated
_______ _____ _ _ _______ ______ _______ __ _ _______ _______ | | | |_____| |______ |_____/ |______ | \ | | |______ |_____ |_____| | | |______ | \_ |______ | \_| |_____ |______
"Privacy is the power to selectively reveal oneself to the world". Eric Hughes
After all these years I decide the purpose of this project has ended. after 7 years new stacks and needs have risen. At these moment these project creates more friction than suitable solutions. At these point I think the right purpose of this project is educational, it will help to explore cryptography algorithms with an easy interface. Unfortunately due to lack of time and vision I couldn't focus this project into the right way or at leas the way I wanted. But this project gave me so many fun and knowledge. now it helps me to understand better the current needs. So, I need to put the same spirit into a new project.
"Suitable connection or dependence, consistency" (in narrative or argument), also more literally "act or state of sticking or cleaving of one thing to another".
Coherence (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.
Be careful Post-Quantum Cryptography is an standard in process. Tested only in Ubuntu 24.04
docker run -d liesware/coherence:latest /usr/bin/coherence
Test:
#!/usr/bin/env python3
import requests
import json
import os
import binascii
def sending(message):
url = 'http://localhost:6613/'
response = requests.post(url, data=message)
print(response.content)
data_js = '{"version":1,"algorithm":"SHA3_512","type":"string","plaintext":"Hello world!"}'
sending(data_js)
We are getting SHA3-512 for "Hello world!" string.
You can use your favorite language, we are using python only for illustrative examples
argon2.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
The 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
on ~/coherence02/
Terminal 1
Terminal 2
Terminal 3
Please see https://coherence.3vidence.com/
Current version Essence.
Through Github
We will be so happy to listent to you, only concise and well-reasoned feedback are welcome. please be critic with yourself before writing.
coherence 4t 3vidence d0t com
344 commits
10 commits
C++
85.8%
Python
12.5%
Shell
1.2%
Coherence is cryptographic server for modern web apps
38
stars
354
commits
C++
primary language
May 30, 2026
updated
_______ _____ _ _ _______ ______ _______ __ _ _______ _______ | | | |_____| |______ |_____/ |______ | \ | | |______ |_____ |_____| | | |______ | \_ |______ | \_| |_____ |______
"Privacy is the power to selectively reveal oneself to the world". Eric Hughes
After all these years I decide the purpose of this project has ended. after 7 years new stacks and needs have risen. At these moment these project creates more friction than suitable solutions. At these point I think the right purpose of this project is educational, it will help to explore cryptography algorithms with an easy interface. Unfortunately due to lack of time and vision I couldn't focus this project into the right way or at leas the way I wanted. But this project gave me so many fun and knowledge. now it helps me to understand better the current needs. So, I need to put the same spirit into a new project.
"Suitable connection or dependence, consistency" (in narrative or argument), also more literally "act or state of sticking or cleaving of one thing to another".
Coherence (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.
Be careful Post-Quantum Cryptography is an standard in process. Tested only in Ubuntu 24.04
docker run -d liesware/coherence:latest /usr/bin/coherence
Test:
#!/usr/bin/env python3
import requests
import json
import os
import binascii
def sending(message):
url = 'http://localhost:6613/'
response = requests.post(url, data=message)
print(response.content)
data_js = '{"version":1,"algorithm":"SHA3_512","type":"string","plaintext":"Hello world!"}'
sending(data_js)
We are getting SHA3-512 for "Hello world!" string.
You can use your favorite language, we are using python only for illustrative examples
argon2.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
The 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
on ~/coherence02/
Terminal 1
Terminal 2
Terminal 3
Please see https://coherence.3vidence.com/
Current version Essence.
Through Github
We will be so happy to listent to you, only concise and well-reasoned feedback are welcome. please be critic with yourself before writing.
coherence 4t 3vidence d0t com
344 commits
10 commits
C++
85.8%
Python
12.5%
Shell
1.2%