• 13-05-2020, 07:01:57
    #1
    Üyeliği durduruldu
    Merhabalar, elimde bir js kodu bulunmakta bunu phpye çevirecek bir arkadaş arıyorum kod uzun bir şey değil kısa, pm ile iletişime geçebilirsiniz.

    KOD :

    function encrypt({password, publicKey, publicKeyId}) {
    const time = Date.now().toString();
    const key = crypto.pseudoRandomBytes(32);
    const iv = Buffer.alloc(12, 0);
    const cipher = crypto.createCipheriv('aes-256-gcm', key, iv).setAAD(Buffer.from(time));
    const aesEncrypted = Buffer.concat([cipher.update(Buffer.from(password)), cipher.final()]);
    const authTag = cipher.getAuthTag();
    const encryptedKey = seal(key, Buffer.from(publicKey, 'hex'));
    return {
    encrypted: Buffer.concat([
    Buffer.from([
    1,
    Number(publicKeyId),
    encryptedKey.byteLength & 255,
    (encryptedKey.byteLength >> 8) & 255,
    ]),
    encryptedKey,
    authTag,
    aesEncrypted,
    ]).toString('base64'),
    time,
    };
    }
    function generateEncPassword({password, publicKey, publicKeyId, encryptionVersion}) {
    const { encrypted, time } = encrypt({password, publicKey, publicKeyId});
    return `#PWD_INSTAGRAM_BROWSER:${encryptionVersion}:${tim e}:${encrypted}`;
    }
  • 13-05-2020, 07:38:16
    #2
    Üyeliği durduruldu
    Selam, bakabilirmiyim?
  • 13-05-2020, 07:52:15
    #3
    Detay lütfen

    SM-J700F cihazımdan Tapatalk kullanılarak gönderildi
  • 13-05-2020, 22:32:57
    #4
    @AVC1; Pm gönderildi.
  • 23-05-2020, 20:37:08
    #5
    Üyeliği durduruldu
    Günceldir arayış devam ediyor
  • 23-05-2020, 21:59:43
    #6
    Bence buraya yazsanız o kodu daha fazla kişi yardım edebilir.
  • 23-05-2020, 22:03:03
    #7
    AVC1 adlı üyeden alıntı: mesajı görüntüle
    Günceldir arayış devam ediyor
    Kodu buraya yaz hocam bi bakalım
  • 25-05-2020, 16:08:51
    #8
    Üyeliği durduruldu
    @Abudllahx @GodLessTurtle konu içerisine yazdım kodu



    Günceldir