• Cethin@lemmy.zip
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 days ago

    Isn’t the most obvious just an off-by-one error? It checked the 0th position in the array of former passwords, and output the index as the output. We start at index 0 while programming for the first entry in an array.