obfuscate

package
v0.84.2 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StringWithKey

func StringWithKey(textToObfuscate string, encodingKey string) string

StringWithKey obfuscates a string using a key It XORs each byte of the value using part of the key and converts it to a UTF8-string value. This is useful for obfuscating configuration values

Types

type Result

type Result struct {
	Value string `json:"obfuscatedValue"`
}

Result represents the result of an obfuscation request

Jump to

Keyboard shortcuts

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