A honeywords generation algorithm for legacy-UI passwords written in C