crtype

package
v0.0.0-...-d032931 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2018 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Usage:

	import "github.com/CloudWise-OpenSource/GoCrab/Core/crtype"
 crtype.SetDesKey("NeekeGao")

	encodeResult := crtype.DesEncode("aaabbbccc")
 decodeResult := crtype.DesDecode(encodeResult)

Index

Constants

View Source
const SIGN_EQUATE = "="
View Source
const SIGN_EQUATE_REPLACE = "!!"
View Source
const SIGN_PLUS = "+"
View Source
const SIGN_PLUS_REPLACE = "**"

Variables

View Source
var (
	DesKey string
)

Functions

func DesDecode

func DesDecode(str string) string

func DesEncode

func DesEncode(str string) string

func GetDesKey

func GetDesKey() string

func SetDesKey

func SetDesKey(key string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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