0
$\begingroup$

I want to estimate the cost of breaking file-based encryption in Android given a password entropy. The only information I found so far is this:

The stretched credential is the user credential after salting and stretching with the scrypt algorithm.

AFAIK, scrypt has several parameters. How do I know what parameters are used in Android? Probably, different derivatives of the Android Open Source Project use different parameters. I am interested in LineageOS.

$\endgroup$
3
  • $\begingroup$ Why not check the source code reps or Android forums. This is more a Q/A site about cryptography as a study, much less about the practical application of algorithms within devices. $\endgroup$
    – Maarten Bodewes
    Jan 31, 2021 at 3:12
  • $\begingroup$ @MaartenBodewes Android forums are silent on this matter. In order to find it in the source code, I need to know where to look. :-) Can I just get this information from a file system header in the working instance of LineageOS? Anyway, thank you for the suggestion. I will cross-post this question to the Android Stack Exchange. $\endgroup$
    – beroal
    Feb 1, 2021 at 13:47
  • $\begingroup$ Connection between PIN/password and encryption keys in Android $\endgroup$
    – defalt
    Dec 20, 2022 at 6:51

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.