MCPcopy Index your code
hub / github.com/smallfawn/QLScriptPublic / sha1

Function sha1

wxapp/tmj.js:53–55  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

51}
52
53function sha1(text) {
54 return crypto.createHash("sha1").update(String(text)).digest("hex");
55}
56
57function signPayload(data) {
58 const keys = Object.keys(data).sort((a, b) => {

Callers 1

signPayloadFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected