Contextualization of stream cipher