@nationalarchives/checksum-calculator
TypeScript icon, indicating that this package has built-in type declarations

0.1.5 • Public • Published

Checksum calculator

This package contains a single function, generate_checksum, which takes a file and returns a promise which resolves to the sha256 checksum of this file.

This has been tested using an Intel Pentium N4200 1.1Ghz and this is faster than the Web Crypto digest by around 1 second per 60 Mb of file.

Dependents (0)

Package Sidebar

Install

npm i @nationalarchives/checksum-calculator

Weekly Downloads

8

Version

0.1.5

License

none

Unpacked Size

77.5 kB

Total Files

5

Last publish

Collaborators

  • tnawebmaster
  • ahosgood
  • sampalmer
  • tna-digital
  • tomjking