#instagram #creation #format

enc_password

Simple rust implementation of enc_password format and creation used by Instagram

3 releases

0.1.2 Jun 1, 2021
0.1.1 Mar 11, 2021
0.1.0 Mar 11, 2021

#17 in #instagram

MIT/Apache

8KB
166 lines

enc_password

Simple rust implementation of enc_password format and creation used by Instagram.

let key_id = "20";
let key_version = "10";
let public_key = "c251eca108fa8c40acd2cad6eda30475fe779d9fd797cbccec654912c84f8a39";
let password = "foobar";
let result = enc_password(key_id, key_version, public_key, password).unwrap();

lib.rs:

Simple rust implementation of enc_password format and creation used by Instagram. Based on existing implementation in encryptionUtils.js as part of the webpack bundle.

Dependencies

~19MB
~97K SLoC