util

package
v0.0.0-...-fd8d5be Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Hash

func Hash(password, salt string) string

Hash password with salt and 30-times stretching using SHA512.

func IsDigit

func IsDigit(s string) bool

IsDigit returns given string is all digit or not.

func SHA512Digest

func SHA512Digest(s string) string

SHA512Digest hashes using SHA512 and returns its hex digest.

Types

This section is empty.

Jump to

Keyboard shortcuts

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