Crate enc_password

Source
Expand description

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.

Structs§

Error

Functions§

enc_password
Generate encoded password format using current key id, key version, public key, and a password. The first three arguments must be provided and match against current instagram shared data.
generate_key
Generate a key of the correct size to use when encrypting the password initially as well as being sealed using instagram public key.