autokey stream cipher for Nodejs