diff --git a/server/app.js b/server/app.js index 40f1674..102b8eb 100644 --- a/server/app.js +++ b/server/app.js @@ -107,6 +107,7 @@ function textRequestHandler(req, res, number, region, key) { message = ' ' + message; } + var shasum = crypto.createHash('sha1'); shasum.update(number); var authbox_digest = shasum.digest('hex'); _.extend(authbox_details, {