From: Sergey Matveev Date: Sun, 11 Sep 2016 13:12:54 +0000 (+0300) Subject: Replace Argon2 with Balloon hashing X-Git-Tag: 6.0^2 X-Git-Url: http://www.git.cypherpunks.ru/?a=commitdiff_plain;h=f9209136cff0331fc2293f25061971f6c77ff213;hp=f9209136cff0331fc2293f25061971f6c77ff213;p=govpn.git Replace Argon2 with Balloon hashing * We should use Argon2i, instead of Argon2d. Current implementation was Argon2i and did not support d-one. * Other Argon2i implementations on Go exists, but they implements not the latest Argon2 1.3 version. * Argon2 is not so trivial to rewrite from scratch. * Used argon2 library contained testing-library import, that added -test related flags to the command line. * Argon2i has some cryptoanalysis, showing it is not so perfect as expected. So all the issues above are mitigated by replacing this hashing function with much more simpler Balloon hashing written from scratch. Simplicity wins. ---