Skip to content

Instantly share code, notes, and snippets.

@pgrimaud
pgrimaud / encrypt.php
Last active December 30, 2023 10:35
Instagram enc_password generator
<?php
$data = file_get_contents('https://www.instagram.com/data/shared_data/');
$json = json_decode($data);
$password = 'password'; //fuck-itdoesntwork;
$publicKey = '8dd9aad29d9a614c338cff479f850d3ec57c525c33b3f702ab65e9e057fc087e';// $json->encryption->public_key;
$keyId = 154; //$json->encryption->key_id;
$version = 10; //$json->encryption->version;