cryptos

package
v0.0.0-...-649a59b Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreatePublicKey

func CreatePublicKey(content string) (*rsa.PublicKey, error)

func EncryptBase64

func EncryptBase64(src []byte, pubKey *rsa.PublicKey) (string, error)

func Sha256Hex

func Sha256Hex(src string) string

Sha256Hex computes out a hash of sha256 and return it as a hex string

Types

This section is empty.

Jump to

Keyboard shortcuts

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