1.2.0 • Published 11 months ago

crypto-storm v1.2.0

Weekly downloads
-
License
ISC
Repository
github
Last release
11 months ago

Character string cryptography module

Allows encryption and decryption, knowing the key. This must imperatively be valued in the environment variable ENCRYPTION_KEY

Example syntax

Javascript

ENCRYPTION_KEY='hCGTd)qSb@ZfAtvPfy^w3$#gN/KCsN.w' node encrypt.js "Something"

Typescript

ENCRYPTION_KEY='hCGTd)qSb@ZfAtvPfy^w3$#gN/KCsN.w' ts-node encrypt.ts "Something"

Result :

should return something like this :

Something has been encrypted to 14398958d684ad2d6840b7a543e29df0:ecfcf677d6cc943bb850493ef60d99ec

Notices

Encryption key

Key length

The encryption key must have exactly 32 characters

Note about # character

If your encryption key includes # character, you have to escape the character with "\" or surround your key with single or double quote (' or ")

If not, the # character will be interpreted as start of a comment, cutting your encryption key

Return values

Each launch will provide a different return value

Sources

https://github.com/AlainBartmanDilaw/crypto-storm

1.2.0

11 months ago

1.1.5

1 year ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.0.4

2 years ago

1.1.2

2 years ago

0.3.0

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.2.3

2 years ago

0.2.2

2 years ago

0.2.4

2 years ago

0.0.10

3 years ago

0.1.0

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.6

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago