okay, aes done for real this time.
This commit is contained in:
@@ -2,6 +2,6 @@ package aesCommon
|
||||
|
||||
const (
|
||||
Aes128Bits aesBitSize = 128
|
||||
Aes196Bits aesBitSize = 196
|
||||
Aes192Bits aesBitSize = 192
|
||||
Aes256Bits aesBitSize = 256
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ type AesCipher struct {
|
||||
/*
|
||||
KeyLen is the length of key used (in bytes) (int(AesCipher.Bits) / 8).
|
||||
|
||||
Must be one of 16 (128-bit), 24 (195-bit), or 32 (256-bit).
|
||||
Must be one of 16 (128-bit), 24 (192-bit), or 32 (256-bit).
|
||||
*/
|
||||
KeyLen int `validate:"oneof=16 24 32"`
|
||||
// Bits is the full bit length of AesCipher.KeyLen (in bits) (AesCipher.KeyLen * 8)
|
||||
|
||||
Reference in New Issue
Block a user