Cipher: applied using statements on memory stream