code: function sha256Hash(data, dataEncoding, outputEncoding) {
  		var hash = crypto.createHash('sha256');
  		hash.update(data, dataEncoding || 'binary');
  		return hash.digest(outputEncoding || 'hex');
  	}
docs: Uses [Crypto.Hash](http://nodejs.org/api/crypto.html#crypto_class_hash) to calculate the SHA256 hash for the given data
  
  @method sha256Hash
  @private
  @param {String} data The data from which to calculate the hash
  @param {String} [dataEncoding='binary'] The data's encoding. Can be `'utf8'`, `'ascii'` or `'binary'`
  @param {String} [encoding='hex'] The desired output encoding for the hash. Can be `'hex'`, `'binary'` or `'base64'`
  @returns {Object} The calculated hash value. The type of the return value depends on the given `encoding`