[][src]Function gpapi::encrypt_login

pub fn encrypt_login(login: &str, password: &str) -> Option<Vec<u8>>

Handles encrypting your login/password using Google's public key Produces something of the format: |00|4 bytes of sha1(publicKey)|rsaEncrypt(publicKeyPem, "login\x00password")|