Increase performance on websafe enc/dec