Added support for encrypting/decrypting data of arbitrary length in
CTR (Counter) mode.