Re: bits vs bytes

Arno Wagner <[email protected]>
Newsgroups gmane.linux.kernel.device-mapper.dm-crypt
Message-ID <[email protected]>
On Mon, Mar 30, 2020 at 22:25:02 CEST, Michael Kjörling wrote:
> On 30 Mar 2020 20:03 +0000, from moreejt-/[email protected] (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: [email protected]
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
[email protected]
https://www.saout.de/mailman/listinfo/dm-crypt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.