You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rzcoder edited this page Feb 26, 2015
·
4 revisions
Advanced options:
You also can specify advanced options for some schemes like this:
options={encryptionScheme: {scheme: 'pkcs1_oaep',//schemehash: 'md5',//hash using for schememgf: function(...){...}//mask generation function},signingScheme: {scheme: 'pss',//schemehash: 'sha1',//hash using for schemesaltLength: 20//salt length for pss sign}}
encryptionScheme.hash, encryptionScheme.mfg and signingScheme.saltLength don't work in node environment