@return ciphertext XOR key
(BigInteger ciphertext, BigInteger key)
| 2527 | * @return ciphertext XOR key |
| 2528 | */ |
| 2529 | public static BigInteger addRoundKey(BigInteger ciphertext, BigInteger key) { |
| 2530 | return ciphertext.xor(key); |
| 2531 | } |
| 2532 | |
| 2533 | /** |
| 2534 | * substitutes 8-Bit long substrings of the input using the S-Box and |