phpseclib/phpseclib — pull request #426 by dagwieers (2014-07-25 10:28:14+00:00)
Title: Add hmac-sha2-256 MAC support

This small patch adds hmac-sha2-256 support separately as requested in #423.

Some security standards now recommend to disable MD5 and SHA1, and use SHA2 instead. This change was tested using SHA2 against RHEL6's OpenSSH v5.3p1 and Solaris 11. And was also tested with RHEL5's OpenSSH 4.3p2 which doesn't include SHA2.