Updating qr with logic for salsa20.