go-crypto-samples

module
v0.0.0-...-156e992 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 21, 2021 License: Apache-2.0

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL