crypto

package
v0.0.0-...-a3e5887 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0, MIT Imports: 5 Imported by: 0

Documentation

Overview

Package crypto wraps crypto primitives.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EcdsaP384Sha384Verify

func EcdsaP384Sha384Verify(pub *ecdsa.PublicKey, data []byte, r, s *big.Int) (bool, error)

EcdsaP384Sha384Verify verifies the signature in r, s of hash using ECDSA P384 + SHA 384 and the public key, pub. Its return value records whether the signature is valid.

func SumSha384

func SumSha384(data []byte) ([sha512.Size384]byte, error)

SumSha384 returns the SHA384 checksum of the data.

Types

This section is empty.

Jump to

Keyboard shortcuts

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