Create cipher stream for different encrypt method.