crypto

package
v0.90.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package crypto provides an interface to cryptographic syscalls.

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 correct msg's signature for a given pub (serialized public key). It uses `Neo.Crypto.ECDsaVerify` syscall.

func SHA256

func SHA256(b []byte) []byte

SHA256 computes SHA256 hash of b. It uses `Neo.Crypto.SHA256` syscall.

Types

This section is empty.

Jump to

Keyboard shortcuts

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