crypto

package
v0.90.0-pre Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ECDsaVerify added in v0.90.0

func ECDsaVerify(msg []byte, pub []byte, sig []byte) bool

ECDsaVerify checks that sig is msg's signature with pub.

func SHA1

func SHA1(b []byte) []byte

SHA1 computes the sha1 hash of b.

func SHA256

func SHA256(b []byte) []byte

SHA256 computes the sha256 hash of b.

Types

This section is empty.

Jump to

Keyboard shortcuts

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