Excuse my lack of knowledge, I fail to see how the byte size of the data is padded properly. How does this make the character fill correct? I see how you specify your key size. That is all i see. # generate a custom key with correct length $keyLength = 16 # valid values are 16,24,32 $EncryptKey = [b...