57 */ |
57 */ |
58 public final class RC2Parameters extends AlgorithmParametersSpi { |
58 public final class RC2Parameters extends AlgorithmParametersSpi { |
59 |
59 |
60 // TABLE[EKB] from section 6 of RFC 2268, used to convert effective key |
60 // TABLE[EKB] from section 6 of RFC 2268, used to convert effective key |
61 // size to/from encoded version number |
61 // size to/from encoded version number |
62 private final static int[] EKB_TABLE = new int[] { |
62 private static final int[] EKB_TABLE = new int[] { |
63 0xbd, 0x56, 0xea, 0xf2, 0xa2, 0xf1, 0xac, 0x2a, |
63 0xbd, 0x56, 0xea, 0xf2, 0xa2, 0xf1, 0xac, 0x2a, |
64 0xb0, 0x93, 0xd1, 0x9c, 0x1b, 0x33, 0xfd, 0xd0, |
64 0xb0, 0x93, 0xd1, 0x9c, 0x1b, 0x33, 0xfd, 0xd0, |
65 0x30, 0x04, 0xb6, 0xdc, 0x7d, 0xdf, 0x32, 0x4b, |
65 0x30, 0x04, 0xb6, 0xdc, 0x7d, 0xdf, 0x32, 0x4b, |
66 0xf7, 0xcb, 0x45, 0x9b, 0x31, 0xbb, 0x21, 0x5a, |
66 0xf7, 0xcb, 0x45, 0x9b, 0x31, 0xbb, 0x21, 0x5a, |
67 0x41, 0x9f, 0xe1, 0xd9, 0x4a, 0x4d, 0x9e, 0xda, |
67 0x41, 0x9f, 0xe1, 0xd9, 0x4a, 0x4d, 0x9e, 0xda, |