1.0.33 • Published 24 days ago

@awesomelewis2007/multihash v1.0.33

Weekly downloads
-
License
GPL-3.0-or-later
Repository
github
Last release
24 days ago

Multi hash

Hash strings trough multiple hashing algorithms and string manipulation functions

While storing passwords and information in a database with a sha256 hash is a good idea, it might still be vulnerable to cracking. By hashing the hash with multiple algorithms and string manipulation functions, the hash becomes more secure. This is especially useful when storing passwords in a database.

Usage

const multi_hash = require("@awesomelewis2007/multihash");

const string = "Hello World!";

hash = multi_hash.hash(string, ["sha256", "md5", "hex", "base64", "sha256"]);

console.log(hash);

// This will output:
// d1f05379ee11c05da9c9ae1c084804f5ce5d2d5a0158b2279a48806fcc7d2db6

Functions

Hash functions

  • md5
  • sha1
  • sha256
  • sha512
  • sha3_224
  • sha3_256
  • sha3_384
  • sha3_512
  • bcrypt
  • bcrypt_strong
  • bcrypt_strongest
  • blake2b
  • crc32
  • murmurhashv2
  • murmurhashv3
  • xxhash
  • keccak

String manipulation functions

  • base64
  • base32
  • hex
  • binary
  • reverse
1.0.33

24 days ago

1.0.32

3 months ago

1.0.31

3 months ago

1.0.26

10 months ago

1.0.25

10 months ago

1.0.29

8 months ago

1.0.28

10 months ago

1.0.27

10 months ago

1.0.30

8 months ago

1.0.19

11 months ago

1.0.18

11 months ago

1.0.17

11 months ago

1.0.16

11 months ago

1.0.21

10 months ago

1.0.20

11 months ago

1.0.15

12 months ago

1.0.14

12 months ago

1.0.13

12 months ago

1.0.12

12 months ago

1.0.11

12 months ago

1.0.10

12 months ago

1.0.9

12 months ago

1.0.8

12 months ago

1.0.7

12 months ago

1.0.6

12 months ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago