cryptg icon indicating copy to clipboard operation
cryptg copied to clipboard

calculate_2fa

Open iamDonkey opened this issue 3 years ago • 2 comments

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

iamDonkey avatar May 20 '22 13:05 iamDonkey

@Rongronggg9 can you please add?

iamDonkey avatar Nov 04 '22 12:11 iamDonkey

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

m.add_wrapped(wrap_pyfunction!(your_new_fn))?;

inside the #[pymodule] fn cryptg.

Lonami avatar Nov 04 '22 12:11 Lonami