Fixed wrong output for short (< 3) passwords closes #1