🔷 (File Transferring Utility) Transfer files through the Net 🔷
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
package encryption |
|
|
|
import "testing" |
|
|
|
func TestGenerate32AESkey(t *testing.T) { |
|
generatedKey := Generate32AESkey() |
|
|
|
if len(generatedKey) != int(KEYLEN) { |
|
t.Errorf("Generate32AESkey failed: generated key`s length does not equal KEYLEN const (32)") |
|
} |
|
}
|
|
|