auth

package
v0.0.0-...-696a884 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2014 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package auth provides methods for generating and validating passwords for consumption via RPC.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Auth

type Auth struct{}

func (*Auth) GeneratePassword

func (a *Auth) GeneratePassword(passwd string) (string, error)

func (*Auth) ValidatePassword

func (a *Auth) ValidatePassword(passwd, hash string) (bool, error)

Jump to

Keyboard shortcuts

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