password

package
v0.0.0-...-89eca19 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2017 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package password handles passwords encryption and decryption for Moenawark.

It currently uses bcrypt.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check

func Check(hashedPassword string, plaintext string) error

Check verifies that an encoded password and a plaintext match.

func Encode

func Encode(plaintext string) string

Encode transforms a plaintext password into an unrecoverable hash. Uses bcrypt currently.

func ReloadConfig

func ReloadConfig()

ReloadConfig performs required actions to reload all dynamic config.

Types

This section is empty.

Jump to

Keyboard shortcuts

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