MCPcopy Index your code
hub / github.com/scriptscat/scriptcat / md5OfText

Function md5OfText

src/pkg/utils/crypto.ts:19–21  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

17}
18
19export function md5OfText(text: string) {
20 return MD5(text).toString();
21}
22
23function calculateMD5FromArrayBuffer(a: ArrayBuffer) {
24 const wordArray = crypto.lib.WordArray.create(a);

Callers 5

md5Method · 0.90
md5Method · 0.90
writeResourceMethod · 0.90
pushScriptMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected