package
0.0.1-alpha.2
Repository: https://github.com/medibloc/panacea-oracle.git
Documentation: pkg.go.dev
# Functions
Decrypt combines secretKey and secondKey to decrypt AES256-GCM.
DeriveSharedKey derives a shared key (which can be used for asymmetric encryption) using a specified KDF (Key Derivation Function) from a shared secret generated by Diffie-Hellman key exchange (ECDH).
Encrypt combines secretKey and secondKey to encrypt with AES256-GCM method.
No description provided by the author
KDFSHA256 is a key derivation function which uses SHA256.
NewPrivKey generates a random secp256k1 private key.
No description provided by the author