speed improvement
improvements for test testSymmetricStreamEncryptShortFileContent
this runs currently into an infinite loop