Documentation ¶ Index ¶ Variables func GenerateNumer(min, max int) int func Pkcs7Pad(b []byte, blocksize int) ([]byte, error) func RandStringBytes(n int) string func RandomBuffer(size int) []byte func VarNumberLength(min, max int) string 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. Source Files ¶ View all Source files Cryptor.go Click to show internal directories. Click to hide internal directories.