hashutils

package
v1.11.0-cni-plu...-0883212 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: Apache-2.0, Apache-2.0 Imports: 3 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