hashutils

package
v3.2.5+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLengthLimitedID

func GetLengthLimitedID(fixedPrefix, suffix string, maxLength int) string

GetLengthLimitedID returns an ID that consists of the given prefix and, either the given suffix, or, if that would exceed the length limit, a cryptographic hash of the suffix, truncated to the required length.

Types

This section is empty.

Jump to

Keyboard shortcuts

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