hash

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2023 License: BSD-3-Clause Imports: 7 Imported by: 2

Documentation

Overview

package hash provides methods for generating different kinds of hashes for media files

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileHash

func FileHash(r io.Reader) (string, error)

FileHash returns the SHA-256 hash for the contents of 'r'.

func PerceptualHash

func PerceptualHash(r io.Reader) (string, error)

PerceptualHash will return the perceptual for the image contained in 'r'.

Types

This section is empty.

Jump to

Keyboard shortcuts

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