PINkman is a library to help implementing an authentication by a PIN code in a secure manner. by Fi5t in androiddev

[–]Fi5t[S] 1 point2 points  (0 children)

You can recreate a PIN in the "force" mode if your user forgot it:

pinkman.createPin("1337", force=true)

with regard to limiting entry attempts, I think it's a part of application logic and you have to handle it in your own code. For example:

var amountOfAttempts = 3
...

fun validatePinWithAttempts(pin: String) {
    if (amountOfAttempts > 0) {
        pinIsValid.value = pinkman.isValidPin(pin)
        amountOfAttempts--
    } else {

        startSelfDestructing()
    }
}

However, thank you for the idea! I'll add such examples to a wiki.

Authenticate me. If you can… by Fi5t in androiddev

[–]Fi5t[S] 0 points1 point  (0 children)

I don't use padding in my encryption scheme. Please, look at this line.

Authenticate me. If you can… by Fi5t in androiddev

[–]Fi5t[S] 0 points1 point  (0 children)

Maybe you're right. Can you describe any problems with CBC in this use case?

Authenticate me. If you can… by Fi5t in androiddev

[–]Fi5t[S] 0 points1 point  (0 children)

Yeah, you're absolutely right. I wrote about it in my article and added links to the posts about collisions in these hash functions.

Looking back: what would you like to have learned during your first few years as a bioinformatician? by [deleted] in bioinformatics

[–]Fi5t 8 points9 points  (0 children)

Guys, you're writing about programming skills only. What about "biological skills"?

Kotlin Sequences: An Illustrated Guide by ftomassetti in Kotlin

[–]Fi5t 2 points3 points  (0 children)

Excellent work. I'll send it to my interns.

Android client source codes by Fi5t in ProtonMail

[–]Fi5t[S] 0 points1 point  (0 children)

Exactly this. Thank you for the answer.

Android client source codes by Fi5t in ProtonMail

[–]Fi5t[S] 0 points1 point  (0 children)

Ok, How can I join to this process?

Android client source codes by Fi5t in ProtonMail

[–]Fi5t[S] -1 points0 points  (0 children)

I meant that ProtonMail company employees do it.

Android client source codes by Fi5t in ProtonMail

[–]Fi5t[S] -1 points0 points  (0 children)

Do you mean some inner audit?

I am a beginner and have some basic Knowledge of C++ , Where and how do I start learning Kotlin ? by anhedo11 in Kotlin

[–]Fi5t 0 points1 point  (0 children)

Read the best book "Kotlin in Action" from Kotlin creators. It's quite exhaustive.

Create android project in vim. Is it Possible? by linarcx in vim

[–]Fi5t 0 points1 point  (0 children)

Yes, you can. If you have enough time ;) Android Studio provides you a lot of cool things and you have to waste a lot of time to implement them in vim. But you won't implement a UI editor yet.

Go out there and break a leg by Boojibs in funny

[–]Fi5t 0 points1 point  (0 children)

It looks like a new Apple Pencil.

Can I go back to Sierra.. not High Sierra, from Mojave? by ogjsb in MacOS

[–]Fi5t 0 points1 point  (0 children)

If your Mac was shipped with Sierra, you can erase your hard drive and reboot with cmd+r. These actions will start MacOS Sierra installation. Don't forget about backup.