https://github.com/hello2mao/go-crypto-samples
https://github.com/hello2mao/go-crypto-samples
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/hello2mao/go-crypto-samples
- Owner: hello2mao
- License: apache-2.0
- Created: 2020-09-26T12:13:50.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-04-21T12:27:48.000Z (over 5 years ago)
- Last Synced: 2025-03-02T11:49:21.502Z (over 1 year ago)
- Language: Go
- Size: 74.2 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-crypto-samples
## BIP32
- bip32
## ECC
- ecc key gen
- privKey -> []byte
- []byte -> privKey
- pubKey -> []byte
- []byte -> pubKey
- encode pubKey to asn1 der
- decode asn1 der to pubKey
## ECDH
- takes in a public key and a private key and generates a shared secret
## ECDSA
- sign and verify
## ECIES
- use ecc to encrypt and decrypt
## HE-Paillier
- partially homomorphic encryption, additive
## Differential-Privacy
- example using the Google go differential privacy library
## Secret-Sharing
- shamir's secret sharing algorithm
## SM
- 国密
## FPE
- Format Preserving Encryption