password

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package password defines Decipher interface, which is used to decode password, user can set customize decipher by SetDecipher function.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetDecipher

func SetDecipher(decipher Decipher)

SetDecipher for set a customized Decipher

Types

type Decipher

type Decipher interface {
	Decode(string) string
}

Decipher to decode password

func GetDecipher

func GetDecipher() Decipher

GetDecipher return a password Decipher

Jump to

Keyboard shortcuts

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