I have encrypted a hardsik with a 12 charachter random alphanumeric passwrod using LUKS encryption on Ubuntu 18.04 on a 2.5" SATA disk partitioned with ext4.

I'm wondering how secure is such scheme? In other words, provided that the cracker has the best software and talent, how long does it take to crack such encryption?

  • 1
    I'd start with the FAQ. gitlab.com/cryptsetup/cryptsetup/-/wikis/… which uses money as the parameter. Talent only involves schemes where the software implementation has some flaw. – Steve Sether Nov 19 '20 at 19:30
  • How can I aply this 1/2 * 2^(bits of entropy in passphrase) formula to my case? Not sure what are my bits of entropy. – randon Nov 19 '20 at 19:36
  • LUKS is the container and the encryption used is AES-256. Check this question as a near duplicate: askubuntu.com/questions/97196/… – user10216038 Nov 20 '20 at 1:11
  • 1
    @randon If you include upper, lower, and numbers, that's 62 characters. Which is about 6 bits per character, or 72 bits for 12. So you're talking trillions of dollars if you're using the key stretching algorithm. – Steve Sether Nov 20 '20 at 3:09
  • I see, so please give a complete answer and I'll accept it. – randon Nov 20 '20 at 6:28

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.