md5

package
v0.0.0-...-da99dcb Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const EmptyString = ""

Variables

This section is empty.

Functions

func GenMd5HashAsBase64

func GenMd5HashAsBase64(filePath string) (string, error)

GenMd5HashAsBase64 calculates the binary MD5 hash and encodes that value to a base64 string, which is how Azure Blob Storage records its Content-MD5 values.

func GenMd5HashAsBinary

func GenMd5HashAsBinary(filePath string) ([]byte, error)

GenMd5HashAsBinary calculates the binary MD5 hash.

func GenMd5HashAsHex

func GenMd5HashAsHex(filePath string) (string, error)

GenMd5HashAsHex calculates the binary MD5 hash and encodes that value to a hex string.

Types

This section is empty.

Jump to

Keyboard shortcuts

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