Make generateNormalizedString private; added Crypto tests.