crypto: Replace non-ascii characters.