hash

package
v0.0.0-...-bfeebfd Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2021 License: MIT Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SumArchivo

func SumArchivo(a string, algo string) ([]byte, error)

SumArchivo devuelve el hash de un archivo utilizando el algoritmo especificado

func SumDirectorio

func SumDirectorio(dir string, algo string)

SumDirectorio imprime el hash para los archivos de un directorio, sin incluir los subdirectorios

func SumRecursivo

func SumRecursivo(dir string, algo string)

SumRecursivo imprime el hash para los archivos de un directorio, incluyendo los subdirectorios

func SumTexto

func SumTexto(s string, algo string) []byte

SumTexto devuelve el hash para un texto

func VerificaHash

func VerificaHash(archivohash string)

VerificaHash recorre la tabla de hashes y verifica si el hash de cada archivo corresponde al definido en la tabla

Types

This section is empty.

Jump to

Keyboard shortcuts

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