New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

encriptorjs

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

encriptorjs - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

4

encriptor.js

@@ -125,3 +125,5 @@ /**

const Encriptor = substitutionCipher;
if (typeof module !== 'undefined' && module.exports) {
module.exports = Encriptor;
}
/**

@@ -128,0 +130,0 @@ * EncriptorJS is a JavaScript text encryption library that allows users to encrypt and decrypt text using a substitution cipher.

{
"name": "encriptorjs",
"version": "1.0.0",
"description": "EncriptorJS is a JavaScript text encryption library that allows you to securely encrypt and decrypt text. It provides a simple interface to convert your text into an encrypted form and optionally add a key for additional security. Only the correct key can be used to decrypt the text, ensuring that unauthorized access is prevented.",
"main": "encriptor.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/SH20RAJ/EncriptorJS.git"
},
"keywords": [
"javascript",
"encryption",
"encryption-decryption",
"security-tools",
"sh20raj"
],
"author": "sh20raj",
"license": "MIT",
"bugs": {
"url": "https://github.com/SH20RAJ/EncriptorJS/issues"
},
"homepage": "https://github.com/SH20RAJ/EncriptorJS#readme"
}
"name": "encriptorjs",
"version": "1.0.1",
"description": "JavaScript text encryption library for secure encryption and decryption.",
"main": "encriptor.js",
"scripts": {
"test": "echo \"No tests specified\""
},
"repository": {
"type": "git",
"url": "https://github.com/sh20raj/encriptorjs.git"
},
"keywords": ["encryption", "decryption", "security", "sh20raj"],
"author": "SH20RAJ",
"license": "MIT",
"bugs": {
"url": "https://github.com/sh20raj/encriptorjs/issues"
},
"homepage": "https://github.com/sh20raj/encriptorjs",
"dependencies": {}
}
# EncriptorJS
[![](https://data.jsdelivr.com/v1/package/gh/sh20raj/EncriptorJS/badge)](https://www.jsdelivr.com/package/gh/sh20raj/EncriptorJS)
[![Visitors](https://api.visitorbadge.io/api/visitors?path=https%3A%2F%2Fgithub.com%2FSH20RAJ%2FEncriptorJS%2F&labelColor=%23f47373&countColor=%23dce775&style=flat)](https://visitorbadge.io/status?path=https%3A%2F%2Fgithub.com%2FSH20RAJ%2FEncriptorJS%2F)
EncriptorJS is a JavaScript text encryption library that allows you to securely encrypt and decrypt text. It provides a simple interface to convert your text into an encrypted form and optionally add a key for additional security. Only the correct key can be used to decrypt the text, ensuring that unauthorized access is prevented.

@@ -15,9 +18,20 @@

```javascript
```javascript
import Encriptor from './encriptor.js';
```
```
or Use
```bash
npm i encriptorjs
```
```javascript
import Encriptor from 'encriptorjs';
```
### In an HTML file
1. Download the EncriptorJS library file (`encriptor.js`) from the [GitHub repository](https://github.com/sh20raj/EncriptorJS).
1. Download the EncriptorJS library file (`encriptor.js`) from the [GitHub repository](https://github.com/sh20raj/EncriptorJS) or [NPMJS](https://www.npmjs.com/package/encriptorjs).
2. Move the `encriptor.js` file into your project directory.

@@ -31,3 +45,3 @@ 3. In your HTML file, add the following script tag:

```html
<script src="https://encriptorjs.sh20raj.repl.co/encriptor.js"></script>
<script src="https://cdn.jsdelivr.net/gh/SH20RAJ/EncriptorJS@main/encriptor.min.js"></script>
```

@@ -90,9 +104,5 @@

Feel free to copy and paste this updated version into your README.md file, which includes the `Encriptor.shuffleString()` function documentation.
## Refrences
> https://dev.to/sh20raj/creating-a-custom-javascript-function-to-shuffle-strings-with-a-key-parameter-3c8a
>
> [comment]: <> (https://chat.openai.com/share/3d0e44fe-963e-48d9-a5f0-547b5da11428)
> https://dev.to/sh20raj/introducing-encriptorjs-secure-text-encryption-and-decryption-in-javascript-a-jwt-easy-to-use-alternative-l02
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc