util

package
v0.0.0-...-66c8205 Latest Latest
Warning

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

Go to latest
Published: May 28, 2014 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckPassword

func CheckPassword(plainpassword string, password, salte []byte) bool

func NuevaContraseña

func NuevaContraseña(password string) ([]byte, []byte)

func RandomString

func RandomString() string

Types

type Cifrador

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

func NuevoCifrador

func NuevoCifrador() *Cifrador

func (*Cifrador) Decrypt

func (cf *Cifrador) Decrypt(desencriptar []byte) []byte

func (*Cifrador) Encrypt

func (cf *Cifrador) Encrypt(aencriptar []byte) []byte

Jump to

Keyboard shortcuts

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