0.1.11 • Published 4 years ago

@highoutput/hash v0.1.11

Weekly downloads
211
License
MIT
Repository
-
Last release
4 years ago

@highoutput/hash

hash(message[,algorithm][,salt])

  • message (string|Buffer) Input message
  • opts.algorithm (string) Algorithm
  • opts.salt (string|Buffer)
  • opts.salt (string|Buffer)
  • Returns: (Promise<Buffer>)

Generate hash.

Examples

import { hash } from 'highoutput-utilities';

hash('The quick brown fox jumps over the lazy dog.');
hash('The quick brown fox jumps over the lazy dog.', { algorithm: 'sha256' });
hash('The quick brown fox jumps over the lazy dog.', { algorithm: 'sha256', salt: 'secretsalt' });
0.1.11

4 years ago

0.1.9

4 years ago

0.1.8

5 years ago

0.1.7

5 years ago

0.1.4

5 years ago

0.1.2

6 years ago

0.1.3

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago