_______ _____ _ _ _______ ______ _______ __ _ _______ _______ | | | |_____| |______ |_____/ |______ | \ | | |______ |_____ |_____| | | |______ | \_ |______ | \_| |_____ |______
"Privacy is the power to selectively reveal oneself to the world". Eric Hughes
- https://www.activism.net/cypherpunk/manifesto.html
- http://www.coderfreedom.org/
- https://pastebin.com/t6B6fhcv
"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.
This technology helps us to bring post-quantum cryptography to modern web apps.
- Hash functions: SHA3, SHA2, SHA1, WHIRLPOOL, Blake2b, SipHash.
- Password-hashing function: Argon2
- Stream ciphers: Sosemanuk, Salsa20/20.
- Block ciphers: AES, RC6, MARS, Twofish, Serpent, CAST-256, Camellia, SPECK, SIMECK.
- Block ciphers modes: CTR, GCM.
- 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.
- RSA: Key generation, digital signature, encryption.
- DSA: Key generation, digital signature.
- DH: Key generation, key exchange (rfc and custom parameters).
- ECC: Key generation, ECIES, ECDSA, ECDH, Curve25519, ECNR.
- Post-Quantum Cryptography sign: Dilithium, SPHINCS+, Rainbow.
- Post-Quantum Cryptography kem: NTRU, Kyber, Saber.
Be careful Post-Quantum Cryptography is not an standard yet and is experimental.
docker run -d liesware/coherence:latest /usr/bin/coherence
Test:
#!/usr/bin/env python
import requests
import json
import os,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
docker run -d liesware/coherence:latest /usr/bin/coherence_grpc 0.0.0.0 6613
The protocol buffer is on grpc/grpc/coherence.proto
HTTP and GRPC have the same API, but on GRPC you need to send as JSON.stringify()
on ~/coherence02/
Terminal 1
- watch python ps_mem.py -p $(pidof coherence)
Terminal 2
- cd bin/ && ./coherence 0.0.0.0 6613
Terminal 3
- cd examples/ && sh all.sh
Please see https://coherence.3vidence.com/
- Be cryptoserver (server dedicated for cryptography)
- Improve security in L7 (Cryptography for webapps)
Current version Essence.
- Master: Stable, standard and experimental algorithms.
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