aboutsummaryrefslogtreecommitdiff
path: root/nginx/ngx_http_js_module.c
diff options
context:
space:
mode:
authorDmitry Volyntsev <xeioex@nginx.com>2018-03-30 18:50:38 +0300
committerDmitry Volyntsev <xeioex@nginx.com>2018-03-30 18:50:38 +0300
commitb9ea5b5ced991afa5b73c3f1e87bea653772b57a (patch)
treea07536abdd1d255b946d48fae3df4552090fb49f /nginx/ngx_http_js_module.c
parentdafef5a9bb3893caeb34501aa1eff44ba03c3bdf (diff)
downloadnjs-b9ea5b5ced991afa5b73c3f1e87bea653772b57a.tar.gz
njs-b9ea5b5ced991afa5b73c3f1e87bea653772b57a.zip
Nodejs style crypto methods.
var crypto = require('crypto') var hash = crypto.createHash(<alg>) available algorithms: 'md5', 'sha1', 'sha256'. hash.update(<data>) hash.digest([<encoding>]) available encodings: 'hex', 'base64'. var hmac = crypto.createHmac(<alg>, <key>) available algorithms: 'md5', 'sha1', 'sha256'. hmac.update(<data>) hmac.digest([<encoding>]) available encodings: 'hex', 'base64'.
Diffstat (limited to 'nginx/ngx_http_js_module.c')
0 files changed, 0 insertions, 0 deletions