Software: Apache. PHP/8.1.30 uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root) Safe-mode: OFF (not secure) /home/picotech/domains/wa.picotech.app/public_html/node_modules/@whiskeysockets/baileys/lib/Utils/ drwxr-xr-x |
Viewing file: Select action/file-type: "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.LT_HASH_ANTI_TAMPERING = void 0; const crypto_1 = require("./crypto"); /** * LT Hash is a summation based hash algorithm that maintains the integrity of a piece of data * over a series of mutations. You can add/remove mutations and it'll return a hash equal to * if the same series of mutations was made sequentially. */ const o = 128; class d { constructor(e) { this.salt = e; } add(e, t) { var r = this; for (const item of t) { e = r._addSingle(e, item); } return e; } subtract(e, t) { var r = this; for (const item of t) { e = r._subtractSingle(e, item); } return e; } subtractThenAdd(e, t, r) { var n = this; return n.add(n.subtract(e, r), t); } _addSingle(e, t) { var r = this; const n = new Uint8Array((0, crypto_1.hkdf)(Buffer.from(t), o, { info: r.salt })).buffer; return r.performPointwiseWithOverflow(e, n, ((e, t) => e + t)); } _subtractSingle(e, t) { var r = this; const n = new Uint8Array((0, crypto_1.hkdf)(Buffer.from(t), o, { info: r.salt })).buffer; return r.performPointwiseWithOverflow(e, n, ((e, t) => e - t)); } performPointwiseWithOverflow(e, t, r) { const n = new DataView(e), i = new DataView(t), a = new ArrayBuffer(n.byteLength), s = new DataView(a); for (let e = 0; e < n.byteLength; e += 2) { s.setUint16(e, r(n.getUint16(e, !0), i.getUint16(e, !0)), !0); } return a; } } exports.LT_HASH_ANTI_TAMPERING = new d('WhatsApp Patch Integrity'); |
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0038 ]-- |