Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Cipher enigma.Cipher
)
Functions ¶
func EnigmaDecode ¶
func EnigmaEncode ¶
func LoadConfig ¶
Types ¶
type CipherHeader ¶
CipherHeader
func (*CipherHeader) Scan ¶
func (cj *CipherHeader) Scan(value interface{}) error
type CipherObject ¶
type CipherObject map[string]interface{}
CipherObject
func (*CipherObject) Scan ¶
func (cj *CipherObject) Scan(value interface{}) error
type CipherString ¶
type CipherString string
CipherString
func (*CipherString) Scan ¶
func (cs *CipherString) Scan(value interface{}) error
type Config ¶
Config
enigma: blockMethod: aes # NONE, AES, DES blockSize: 128 # NONE: default(1), AES: 128|192|256, DES: 64 blockKey: secret # (base64 string) cipherMode: gcm # NONE: NONE|AES|DES , GCM: AES, CBC: NONE|AES|DES cipherSalt: null # NULL, (base64 string) padding: PKCS # NONE: AES+GCM, PKCS: AES+NONE|AES+CBC|DES+NONE|DES+CBC strconv: base64 # plain|base64|hex
Click to show internal directories.
Click to hide internal directories.