A honeywords generation algorithm for legacy-UI passwords