pcrypto

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2016 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PKCS7Padding

func PKCS7Padding(ciphertext []byte, blockSize int) []byte

func PKCS7UnPadding

func PKCS7UnPadding(origData []byte) []byte

Types

type Pcrypto

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

func (*Pcrypto) Decrypto

func (pc *Pcrypto) Decrypto(str []byte) ([]byte, error)

func (*Pcrypto) Encrypto

func (pc *Pcrypto) Encrypto(src []byte) ([]byte, error)

func (*Pcrypto) Init

func (pc *Pcrypto) Init(key []byte) error

Jump to

Keyboard shortcuts

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