How to use the encrypt_sync function from bindings
Find comprehensive JavaScript bindings.encrypt_sync code examples handpicked from public code repositorys.
406 407 408 409 410 411 412 413 414 415
if (typeof salt === 'number') { salt = module.exports.genSaltSync(salt); } return bindings.encrypt_sync(data, salt); }; /// hash data using a salt /// @param {String} data the data to encrypt
0
0
1
bindings.createKey is the most popular function in bindings (8616 examples)