crypt

package
v0.0.0-...-0e611fa Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CipherCrypt

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

CipherCrypt struct for Decrypting

func NewCrypt

func NewCrypt(cfg *config.Config) (*CipherCrypt, error)

NewCrypt returns crypt functionality

func (*CipherCrypt) Decrypt

func (c *CipherCrypt) Decrypt(entity string) (string, error)

Decrypt decrypts some string

func (*CipherCrypt) Encrypt

func (c *CipherCrypt) Encrypt(entity string) (string, error)

Encrypt encrypts some string

Jump to

Keyboard shortcuts

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