add stream cipher test code