import { HashUtil } from "https://deno.land/x/sptaki@1.2.0/utils/HashUtil.d.ts";
Constructors
new
HashUtil(timeUtil: TimeUtil)Properties
protected
timeUtil: TimeUtilMethods
generate(): string
Create a 24 character id using the sha256 algorithm + current timestamp
generateAccountId(): number
generateCRC32ForFile(filePath: fs.PathLike): number
generateHashForData(algorithm: string, data: crypto.BinaryLike): string
Create a hash for the data parameter
generateMd5ForData(data: string): string
generateSha1ForData(data: string): string