sha256

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2022 License: GPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoubleSHA256 added in v0.0.8

func DoubleSHA256(content *string) string

DoubleSHA256 Double hash is the algorithm used in Bitcoin protocol

func DoubleSHA256FromByte added in v0.0.8

func DoubleSHA256FromByte(content []byte) []byte

DoubleSHA256FromByte Double hash is the algorithm used in Bitcoin protocol

func SHA256

func SHA256(content *string) string

SHA256 Calculate the sha256 of the content, and return back the string in bach54

Types

This section is empty.

Jump to

Keyboard shortcuts

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