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.
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 a key of the correct size to use when encrypting the password initially as well as being sealed using instagram public key.