crypto added support for 2 keystreams for encryption and decryption