6 دسمبر، 2016 - Read that code if you have to implement the function yourself. You are then comparing a string which contains at least 9 characters with "password", which is 8 .