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.

  • $\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 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 at 13:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.