Fri Nov 15 10:55:20 MST 2013

libs:
 handshake.js:
  encryptData(key, pt): Added conditional to convert incoming plain text to
                        a buffer due to encoding requirements.
                        Changes to aes-256-ctr cipher mode to ensure strong
                        cipher for symmetric encryption.
  decryptData(key, ct): Changed to aes-256-ctr cipher mode and added encoding
                        to output.

test:
 test-crypto.js:
  encryptData(key, pt): Modified requirement to accommidate CTR mode cipher.
 test-handshake.js:
  extractPayload(payload, count, length): Changes payload length test to
                                          accomidate stronger cipher mode.