utils

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decrypt

func Decrypt(secret string) (string, error)

Decrypt decrypts the passed secret using configured secret key

func Encrypt

func Encrypt(secret string) (string, error)

Encrypt encrypts the passed secret using AES with configured secret key

func IsDomainName

func IsDomainName(s string) bool

IsDomainName checks if a string is a presentation-format domain name

Types

This section is empty.

Jump to

Keyboard shortcuts

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