You shouldn't use SHA-1 string as AppleID's security answer
blog.qzhou.in
blog.qzhou.in
$ shasum <<< "answer_1"
20d3279857198a0d67cce2b531b4d901224029ba -
$ echo -n "answer_1" | sha1sum
356e11142394c2a087841b9d1d783f16264aa082 -
The difference is the missing newline character. If the hashes were not generated the same way the first time, maybe that's the problem?maxlength = "32" explains everything. Though Apple never said about the length, but it was a positive bias[1] which sometimes people only test samples that support the existing hypothesis.
[1] http://lesswrong.com/lw/iw/positive_bias_look_into_the_dark/