hash

package
v0.0.0-...-796c688 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package hash provides utility functions for hashing data using the SHA-256 algorithm.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalculateSha256

func CalculateSha256(data io.Reader) (string, error)

CalculateSha256 calculates the SHA-256 hash of the data from the given io.Reader. It returns the hexadecimal representation of the hash and any error encountered during the process.

Types

This section is empty.

Jump to

Keyboard shortcuts

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