module
Version:
v0.0.0-...-156e992
Opens a new window with list of versions in this module.
Published: Apr 21, 2021
License: Apache-2.0
Opens a new window with license information.
README
¶
go-crypto-samples
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
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
Directories
¶
Click to show internal directories.
Click to hide internal directories.