So in doing some poking around the JDK source, I stumbled across this routine in an internal support class sun.security.util.Password. Specifically, this utili
sun.security.util.Password