mycrypto

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Aes256_Dec

func Aes256_Dec(cipherText, bKey []byte) ([]byte, error)

func Aes256_Enc

func Aes256_Enc(bPlaintext []byte, bKey []byte, lmin int) []byte

func GetRandArray

func GetRandArray(size int) []byte

func GetSharedSecret

func GetSharedSecret(x, y []byte) ([]byte, *ecdsa.PublicKey)

func Hmac_sha256_16

func Hmac_sha256_16(bKey []byte, bPlaintext []byte) []byte

func Sha256_16

func Sha256_16(plaintext string) []byte

Types

This section is empty.

Jump to

Keyboard shortcuts

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