On Mon, Mar 30, 2020 at 22:25:02 CEST, Michael Kjörling wrote: > On 30 Mar 2020 20:03 +0000, from moreejt@xxxxxxxxx (JT Morée): > > When I run luksDump i see that multiple locations give sizes in > > 'bits'. Is that correct? Normally, we operate in 8 bit => bytes. > > If I read this correctly then > > > > 2: luks2 (unbound) > > Key: 512 bits = 64 bytes > > Cryptographic key sizes, hash lengths, block sizes, and similar > quantities are commonly stated in bits, not bytes, especially for > algorithms typically implemented on digital, binary computers (in > either hardware or software). > > There's likely a variety of reasons for this; some historical, some > mathematical. Probably the most important is that the concept of a byte has no real meaning for these values. Regards, Arno -- Arno Wagner, Dr. sc. techn., Dipl. Inform., Email: arno@xxxxxxxxxxx GnuPG: ID: CB5D9718 FP: 12D6 C03B 1B30 33BB 13CF B774 E35C 5FA1 CB5D 9718 ---- A good decision is based on knowledge and not on numbers. -- Plato If it's in the news, don't worry about it. The very definition of "news" is "something that hardly ever happens." -- Bruce Schneier _______________________________________________ dm-crypt mailing list dm-crypt@xxxxxxxx https://www.saout.de/mailman/listinfo/dm-crypt