2.0.3 • Published 2 years ago

encryptdata v2.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

logo

A lightweight package that allows you to encrypt or decrypt your strings or data.

Installation

Install EncryptData with npm

  npm install encryptdata

Whats new?

  • Corrected a few bugs In Caesar Cipher where negative steps would return an error
  • Corrected the names of things to make it simpler
  • Added Decryption Method for Caesar Cipher

Functions

Encrypt

FunctionReturn typeParameters
InOrderHashstringKey?: string
DoubleDisplacestringFlip?, Randomize?: Boolean
CaesarCipherstringStep?: Number
HexShiftstringShift?: Boolean

Decrypt

FunctionReturn typeParameters
CaesarCipherstringStep?: Number

More to be added soon

Usage/Examples

const encrypter = require("encryptdata")

let string = new encrypter.Encrypt("sample text!").CaesarCipher(2)
console.log(string)

Returns:
>> tbnqmf ufyu!

let string2 = new encrypter.Decrypt(string).CaesarCipherRevert(2)
console.log(string2)

Returns:
>> sample text!

Authors

2.0.3

2 years ago

2.0.2

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago