obscure

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2018 License: MIT Imports: 4 Imported by: 0

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-GCM

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