cpass

package
v0.0.0-...-46a1ea6 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 License: MIT Imports: 11 Imported by: 23

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Crypter

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

Crypter - cpass module structure

func Cpass

func Cpass(masterKey string) *Crypter

Cpass constructor function.

func (*Crypter) Decode

func (c *Crypter) Decode(data string) (string, error)

Decode decodes a locally decodable hash to the original string.

func (*Crypter) Encode

func (c *Crypter) Encode(data string) (string, error)

Encode encodes a string value to a locally decodable hash.

Jump to

Keyboard shortcuts

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