Comparing version 0.0.2 to 0.0.3
{ | ||
"name": "phog", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Dead simple crypto module for Fognet", | ||
"author": "Evan Feenstra <evan@evan.cool>", | ||
"main": "index.js", | ||
"keywords": ["fognet", "crypto", "cryptography", "encryption", "web crypto api", "web crypto", "iota", "digital signature", "aes", "ecdsa", "ecdh", "derivation", "key"], | ||
"dependencies": { | ||
@@ -8,0 +9,0 @@ "simple-base": "^0.2.1" |
# phog | ||
dead simple crypto functions for fognet | ||
crypto functions for fognet and the web | ||
@@ -15,3 +15,3 @@ phog uses the Web Crypto API and base 58 encoding | ||
usage: ['sign', 'verify'], | ||
export: {public:'spki', private:'pkcs8'} | ||
format: {public:'spki', private:'pkcs8'} | ||
}, | ||
@@ -21,3 +21,3 @@ derive: { | ||
usage: ['deriveKey'], | ||
export: {public:'spki', private:'pkcs8'} | ||
format: {public:'spki', private:'pkcs8'} | ||
}, | ||
@@ -27,3 +27,3 @@ encrypt: { | ||
usage: ['encrypt', 'decrypt'], | ||
export: {public:'raw', private:'raw'}, | ||
format: {public:'raw', private:'raw'}, | ||
ivFunc: () => window.crypto.getRandomValues(new Uint8Array(12)) | ||
@@ -30,0 +30,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
15592