improve crypto perf
Fixed crypto issues with Cipher*Stream