thealeksandr / PFLockScreen-Android

Apache License 2.0
223 stars 84 forks source link

IPFPinCodeHelper #32

Closed hrupin closed 5 years ago

hrupin commented 5 years ago

Good time of day. The library is super, thanks.

I can not figure out how to connect custom encryption? I inherited the IPFPinCodeHelper class and override methods. But they do not start (((

And another question is how can I get a non-encrypted pincode? or how decrypt?

Thank you for you answer and help

thealeksandr commented 5 years ago

Hey @hrupin. You can set your own encryption method as PFSecurityManager.getInstance().setPinCodeHelper(new TestPFPinCodeHelperImpl());

thealeksandr commented 5 years ago

@hrupin there is no method to get decrypted pin code. You can only use checkPin method to check if string is correct pincode or not.

hrupin commented 5 years ago

Thank you very much))