keycache

package
v0.0.0-...-d2593da Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KeyCache

type KeyCache struct {
	// contains filtered or unexported fields
}

func NewKeyCache

func NewKeyCache(salt string) *KeyCache

func (*KeyCache) GetKey

func (k *KeyCache) GetKey(obfuscatedKey string) string

GetKey gets the unobfuscated key for an obfuscated key. Returns an empty string if obfuscated key is not found.

func (*KeyCache) GetObfusKey

func (k *KeyCache) GetObfusKey(key string) string

GetObfusKey gets obfuscated key for an unobfuscated key. If one isn't found, creates one and returns it.

Jump to

Keyboard shortcuts

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