andris9/simplesmtp — pull request #20 by jdbevan (2012-09-22 01:26:55+00:00)
Title: Added support for the client to authenticate using CRAM-MD5

Depends on the [crypto](http://nodejs.org/api/crypto.html) module.

Added two functions, one which [performs the hashing and sends a response to the server's challenge string](http://en.wikipedia.org/wiki/CRAM-MD5#Protocol), and one function that checks the server's reply to determine whether we logged in successfully.

Altered the `_actionEHLO` function to check for CRAM-MD5 as a supported auth type.