obscure

package
v1.66.0 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2024 License: MIT Imports: 8 Imported by: 121

Documentation

Overview

Package obscure contains the Obscure and Reveal commands

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustObscure

func MustObscure(x string) string

MustObscure obscures a value, exiting with a fatal error if it failed

func MustReveal

func MustReveal(x string) string

MustReveal reveals an obscured value, exiting with a fatal error if it failed

func Obscure

func Obscure(x string) (string, error)

Obscure a value

This is done by encrypting with AES-CTR

func Reveal

func Reveal(x string) (string, error)

Reveal an obscured value

Types

This section is empty.

Jump to

Keyboard shortcuts

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