p-hash
Simple functions that return the hash of a buffer as a promise.
const phash = ;const data = 'this is my data';;phash;phash;phash;phash;phash;phashhash'newfangled' data;
The functions are all defined as shaXXX(...buffers)=>{...}
so that they can
take one or more buffers as arguments.