deslib

package
v0.0.0-...-cb03694 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DesCbc

type DesCbc struct {
	// contains filtered or unexported fields
}

DesCbc des cbc struct

func NewDesCbc

func NewDesCbc(key string, iv string) (*DesCbc, error)

NewDesCbc create new DesCbc struct

func (*DesCbc) Decrypt

func (c *DesCbc) Decrypt(str string) (string, error)

Decrypt DesCbc decrypt

func (*DesCbc) Encrypt

func (c *DesCbc) Encrypt(str string) (string, error)

Encrypt DesCbc encrypt

Jump to

Keyboard shortcuts

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