easy-crypto-front
Advanced tools
Comparing version 1.0.0 to 1.1.0
import Cryptr from "cryptr"; | ||
const getCryptrConfigurations = (salt: string) => { | ||
const getCryptrConfigurations = (salt) => { | ||
return new Cryptr(salt, { | ||
@@ -5,0 +5,0 @@ saltLength: 1, |
{ | ||
"name": "easy-crypto-front", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"main": "index.js", | ||
"type": "module", | ||
"repository": { | ||
@@ -6,0 +7,0 @@ "type": "git", |
@@ -1,5 +0,10 @@ | ||
# easy-crypto | ||
# easy-crypto-front | ||
Easy crypto to frontend projects | ||
cryptr | ||
```js | ||
const cryptr = getCryptrConfigurations('salt'); | ||
const textEncrytp = cryptr.encrypt(email); | ||
const textDecrytp = cryptr.decrypt(email); | ||
``` |
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
13488
5
16
10
0
Yes
1