- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestVariableKeyKnownAnswerDecrypt (1.04 sec)
-
src/crypto/des/des_test.go
c.Encrypt(out, tableA2Plaintext) if !bytes.Equal(out, tt.out) { t.Errorf("#%d: result: %x want: %x", i, out, tt.out) } } } // Defined in Pub 800-20 func TestVariableKeyKnownAnswerDecrypt(t *testing.T) { for i, tt := range tableA2Tests { c, _ := des.NewTripleDESCipher(tt.key) out := make([]byte, len(tt.out)) c.Decrypt(out, tt.out)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 29 16:49:56 UTC 2023 - 52.2K bytes - Viewed (0)