Documentation ¶
Index ¶
- Constants
- Variables
- func RandomArray(num int) []byte
- type Cipher
- func (c *Cipher) AddCBCOpenSSLPadding(source []byte) []byte
- func (c *Cipher) Dec(source []byte, password []byte) ([]byte, error)
- func (c *Cipher) DecString(source string, password string) (string, error)
- func (c *Cipher) Enc(source []byte, password []byte) ([]byte, error)
- func (c *Cipher) EncString(source string, password string) (string, error)
- func (c *Cipher) GetOpenSSLKey(passwordArr []byte, saltArr []byte) OpenSSLKey
- type OpenSSLKey
Constants ¶
View Source
const ( SaltSize = 8 Nr = 14 Nk = 8 )
View Source
const Version = "0.0.0"
Version specifies the GibberishAES version being used.
Variables ¶
View Source
var EmptyPaddingBlock = []byte{16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16}
Functions ¶
func RandomArray ¶
Types ¶
type Cipher ¶
type Cipher struct{}
func (*Cipher) AddCBCOpenSSLPadding ¶
func (*Cipher) GetOpenSSLKey ¶
func (c *Cipher) GetOpenSSLKey(passwordArr []byte, saltArr []byte) OpenSSLKey
type OpenSSLKey ¶
Click to show internal directories.
Click to hide internal directories.