simple-encryptor
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "simple-encryptor", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Simplified encryption/decryption for node.js", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -38,2 +38,17 @@ # simple-encryptor | ||
Encrypt/decrypt an object (not just a string!): | ||
// nested object: | ||
var obj = { | ||
foo: { | ||
bar: [1, "baz"] | ||
} | ||
}; | ||
var objEnc = encryptor.encrypt(obj); | ||
// Should print gibberish: | ||
console.log('obj encrypted: %s', objEnc); | ||
var objDec = encryptor.decrypt(objEnc); | ||
// Should print: {"foo":{"bar":[1,"baz"]}} | ||
console.log('obj decrypted: %j', objDec); | ||
# Features | ||
@@ -40,0 +55,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12865
110