I guess something like
```javascript
return Q.fcall(function() {
   return cryptojs.SHA256(cryptojs.lib.WordArray.create(data)).toString()
}
```
would suffice here :)