https://github.com/hongyanwang/crypto-lab
Golang implementation of multiple crypto protocols
https://github.com/hongyanwang/crypto-lab
cryptography golang
Last synced: 4 months ago
JSON representation
Golang implementation of multiple crypto protocols
- Host: GitHub
- URL: https://github.com/hongyanwang/crypto-lab
- Owner: hongyanwang
- License: apache-2.0
- Created: 2020-11-03T09:31:00.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-03-24T04:24:14.000Z (about 2 years ago)
- Last Synced: 2025-03-07T15:11:29.440Z (over 1 year ago)
- Topics: cryptography, golang
- Language: Go
- Homepage:
- Size: 853 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[DOC](https://hongyanwang.github.io/crypto-lab/) | English
[](LICENSE)
# crypto-lab
Golang implementation of cryptographic algorithms
## 1. common
- crt: chinese remainder theorem
- hash_to_point: hash prime filed number to ecc point
- matrix: matrix operation mod P
- polynomial: polynomial operations, including Lagrange interpolation
## 2. symmetric
- aes
## 3. asymmetric
- bls
- ecies
- paillier
- rsa
- sm2
## 4. hash
- sm3
- Chameleon hash
## 5. advanced
- gc: garbled circuit
- yao: Yao's garbled circuit
- hd: hierarchical deterministic encryption
- he: fully homomorphic encryption
- bfv
- ring_sign: ring signature based on RSA
- linkable_ring_sign: linkable ring signature based on RSA
- ot: oblivious transfer based on RSA and ECC, supporting 1-out-of-2 and 1-out-of-n schemes
- bellare_micali: Bellare-Micali 1-out-of-2 OT
- bellare_micali_1_n: 1-out-of-n OT based on Bellare-Micali
- iknp 1-out-of-2^l OTE based on IKNP
- ot_rsa: 1-out-of-2 OT based on RSA
- pir: private information retrieval using homomorphic encryption and Lagrange interpolation
- psi: private set intersection using DH OPRF
- ss: secret sharing
- shamir: Shamir's secret sharing
- blakley: Blakley's secret sharing
- crt: secret sharing using CRT