Implement padding to enable all kinds of input to the block cipher.