ptitfred/magrit — pull request #9 by ThierryAbalea (2011-12-28 18:30:42+00:00)
Title: Replace the equality test implementation of the public keys based on SHA...

...-1 by a more classical, simple, faster and secure one based on Arrays.areEqual(byte[], byte[]).

In addition to the fact that an hashing function is not required for this purpose, please note that the usage of the SHA-1 algorithm is no more recommanded for security purpose from 2005 because it is broken/cracked (http://www.schneier.com/blog/archives/2005/02/sha1_broken.html). Instead, it is recommanded to use SHA-256.