file

package
v0.0.0-...-d45123d Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2022 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Sha256part

func Sha256part(b []byte) string

Sha256part returns sha256 sum of the bytes b cropped to 12 symbols

func Sha512part

func Sha512part(b []byte) string

Sha512part returns sha512 sum of the bytes b cropped to 12 symbols

func SizeApprox

func SizeApprox(filesize int64) string

sizeAvg returns hex digit that stands for amount of symbols after first symbol of the file size in bytes

func SizeMod

func SizeMod(filesize int64) string

sizeMod returns (size mod 16), where size is a size of file in bytes The output will be in the hex number system

func Xxhash64part

func Xxhash64part(b []byte) string

Xxhash64part returns xxhash64 sum of the bytes b cropped to 12 symbols

Types

This section is empty.

Jump to

Keyboard shortcuts

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