Cryptor

package
v0.0.0-...-d94dd38 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidBlockSize = errors.New("[-] Invalid Blocksize")

	ErrInvalidPKCS7Data = errors.New("[-] Invalid PKCS7 Data (Empty or Not Padded)")

	ErrInvalidPKCS7Padding = errors.New("[-] Invalid Padding on Input")
)

Functions

func GenerateNumer

func GenerateNumer(min, max int) int

func Pkcs7Pad

func Pkcs7Pad(b []byte, blocksize int) ([]byte, error)

func RandStringBytes

func RandStringBytes(n int) string

func RandomBuffer

func RandomBuffer(size int) []byte

func VarNumberLength

func VarNumberLength(min, max int) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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