Add support for symmetric encryption of streams.