0.1.11 • Published 3 years ago

@highoutput/hash v0.1.11

Weekly downloads
211
License
MIT
Repository
-
Last release
3 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

3 years ago

0.1.9

3 years ago

0.1.8

4 years ago

0.1.7

4 years ago

0.1.4

4 years ago

0.1.2

4 years ago

0.1.3

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago