crypto

package
v0.0.0-...-8317582 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Base64Decode

func Base64Decode(data string) string

Base64Decode из base64 декодирует в строку

func Base64Encode

func Base64Encode(data string) string

Base64Encode строку в base64 кодирует

func CheckPasswordHash

func CheckPasswordHash(password, hash string) bool

CheckPasswordHash верификация пароля с хэшом

func CreateHash

func CreateHash(b []byte) string

CreateHash функция создающая хэш 256

func DecryptAES

func DecryptAES(key, data []byte) []byte

DecryptAES ...

func EnctyprAES

func EnctyprAES(key, data []byte) []byte

EnctyprAES ..

func HashPassword

func HashPassword(password string) (string, error)

HashPassword создает хэш пароля bcrypt

Types

This section is empty.

Jump to

Keyboard shortcuts

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