mysqlfuncs

package module
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2024 License: MIT Imports: 8 Imported by: 0

README

README

Replicating MySQL DES Encryption Methods With Go

The result from des_encrypt is different from Java DESede Algorithm

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DesDecrypt

func DesDecrypt(encrypted []byte, plainKey string) (res string, err error)

DesDecrypt MySQL DES_DECRYPT

func DesEncrypt

func DesEncrypt(plainText, plainKey string) (res []byte, err error)

DesEncrypt MySQL DES_ENCRYPT

func FromBase64

func FromBase64(b string) ([]byte, error)

FromBase64 MySQL FROM_BASE64

func ToBase64

func ToBase64(b []byte) string

ToBase64 MySQL TO_BASE64

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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