MCPcopy Create free account
hub / github.com/Semporia/Scripts / stringToBytes

Function stringToBytes

activity/jd_nian.js:1641–1646  ·  view source on GitHub ↗
(t)

Source from the content-addressed store, hash-verified

1639}
1640
1641function stringToBytes(t) {
1642 t = unescape(encodeURIComponent(t))
1643 for (var n = [], e = 0; e < t.length; e++)
1644 n.push(255 & t.charCodeAt(e));
1645 return n
1646}
1647
1648function bytesToWords(t) {
1649 for (var n = [], e = 0, r = 0; e < t.length; e++,

Callers 1

getSignFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected