1.6.0 • Published 8 years ago

simpli-crypto v1.6.0

Weekly downloads
2
License
MIT
Repository
-
Last release
8 years ago

A simplified, easy to use version of the built in Crypto library.

Simple Crypto Version Downloads per Month Total Downloads License

var sc = require('simpli-crypto')

console.log(sc.hash("some data to hash"));

var data = sc.cipher("some data to cipher", "password");
console.log(data);
console.log(sc.decipher(data, "password"));

Installation

$ npm install simpli-crypto

Features

  • An oversimplified hash method.
  • An easy to use cipher method.
  • An easy to use decipher method.
  • Alternate spellings of "cipher" and "decipher" ("cypher" and "decypher").

Functions

sc.hash(<data>, [encoding], [method]);
sc.cipher(<data>, <password>, [inenc], [outenc], [method], [autoPad]);
sc.decipher(<data>, <password>, [inenc], [outenc], [method], [autoPad]);

data: (string) data to hash/cipher
password: (string) cipher/deciper password
encoding: (string) ex: base64, hex, etc.
inenc: (string) input encoding
outenc: (string) output encoding
method: (string) hash/cipher algorithm ex: aes192, etc.
autoPad: (boolean) whether or not to use auto padding
1.6.0

8 years ago

1.5.1

8 years ago

1.5.0

8 years ago

1.5.0-1

8 years ago

1.4.17

8 years ago

1.4.16

8 years ago

1.4.15

8 years ago

1.4.14

8 years ago

1.4.13

8 years ago

1.4.12

8 years ago

1.4.11

8 years ago

1.4.10

8 years ago

1.4.9

8 years ago

1.4.8

8 years ago

1.4.7

8 years ago

1.4.6

8 years ago

1.4.5

8 years ago

1.4.4

8 years ago

1.4.3

8 years ago

1.4.2

8 years ago

1.4.1

8 years ago

1.4.0

8 years ago

1.3.2

8 years ago

1.3.1

8 years ago

1.3.0

8 years ago

1.2.0

8 years ago

1.1.3

8 years ago

1.1.2

8 years ago

1.1.1

8 years ago

1.1.0

8 years ago

0.2.0

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago

1.0.0

8 years ago