aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat/primitives/vectors/ciphers/CAST5/cast5-ecb.txt
blob: 04c7861586a01328d8c2b88b451622b76bfa4e7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# CAST5 (CAST128) ECB vectors from RFC 2144
[ENCRYPT]
# 128-bit key
COUNT = 0
key = 0123456712345678234567893456789A
plaintext = 0123456789ABCDEF
ciphertext = 238B4FE5847E44B2

# 80-bit key
COUNT = 1
key = 01234567123456782345
plaintext = 0123456789ABCDEF
ciphertext = EB6A711A2C02271B

# 40-bit key
COUNT = 2
key = 0123456712
plaintext = 0123456789ABCDEF
ciphertext = 7AC816D16E9B302E