How would one calculate the number of bytes of plaintext that could be encrypted as a single block given the key size? And how could you then calculate the number of bytes of cipher text that can be decrypted in a single block given the same key size because I am told that the two sizes are different.
I tried using
Cipher.getBlockSize()
but that only returns 0. Thanks for your help.