MCPcopy Create free account
hub / github.com/smallfawn/QLScriptPublic / SHA256_Encrypt

Method SHA256_Encrypt

xiaosatonglu.js:299–302  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

297 });
298 }
299 SHA256_Encrypt(str) {
300 const crypto = require('crypto');
301 return crypto.createHash("sha256").update(str).digest('hex');
302 }
303 async do_read(articleId) {
304 let host_data = `/api/article/detail`
305 let REQUEST_ID = this.getUUID();

Callers 2

loginMethod · 0.95
do_readMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected