Open iamDonkey opened 2 years ago
can you please add calculate_2fa function from grammers crypto?
https://github.com/Lonami/grammers/blob/master/lib/grammers-crypto/src/two_factor_auth.rs#L32
@Rongronggg9 can you please add?
You can send a pull request yourself @iamDonkey. It should be simple. Simply add a new fn in lib.rs exposing the calculate_2fa method, and then add
fn
lib.rs
calculate_2fa
m.add_wrapped(wrap_pyfunction!(your_new_fn))?;
inside the #[pymodule] fn cryptg.
#[pymodule] fn cryptg
can you please add calculate_2fa function from grammers crypto?
https://github.com/Lonami/grammers/blob/master/lib/grammers-crypto/src/two_factor_auth.rs#L32