From: Arno Wagner <arno@wagner.name>
To: dm-crypt@saout.de
Subject: Re: [dm-crypt] bits vs bytes
Date: Tue, 31 Mar 2020 11:32:57 +0200 [thread overview]
Message-ID: <20200331093257.GB6454@tansi.org> (raw)
In-Reply-To: <df50c6fd-2f8d-4b0d-82e0-a821c2304de5@localhost>
On Tue, Mar 31, 2020 at 08:55:32 CEST, Michael Kjörling wrote:
> On 31 Mar 2020 08:43 +0200, from arno@wagner.name (Arno Wagner):
> > Otherwise you would need to multiply by 8 in a lot of places.
> > And you could also use nibbles (4 bit) words (16 bits),
> > long words (32 bits) or quadwords (64 bits) as "units". The
> > byte is not really specuial.
>
> And let's not forget that at the time when many long-lasting
> encryption algorithms (DES, RSA, anyone?) were being designed, it
> still wasn't an open-and-shut case whether even a digital binary
> computer would represent data in 8-bit chunks or not. Octal was still
> big in the late 1970s.
Hehehe, yes. That would be 3-bit units...
Anyways, while SI has no unit for "information", as it is not
a physical thing, Information Theory typically uses "bit" as
base unit. But there are apparently also people that use "nat"
(base e) and "decimal digit" (base 10) in Information Theory.
So we are fortunate they usually use something binary in the
first place!
Hence "bit" is basically the most common denominator for the
different fields involved and also the most simple one
which nicely satisfies KISS.
For even more confusion:
https://en.wikipedia.org/wiki/Binary_prefix
Not only do SI and IEC disagree, but at least with different
prefixes, apparently JEDEC does something even worse and
redefines existing prefixes!
Regards,
Arno
--
Arno Wagner, Dr. sc. techn., Dipl. Inform., Email: arno@wagner.name
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
next prev parent reply other threads:[~2020-03-31 9:32 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <566872408.1293730.1585598590645.ref@mail.yahoo.com>
2020-03-30 20:03 ` [dm-crypt] bits vs bytes JT Morée
2020-03-30 20:25 ` Michael Kjörling
2020-03-30 21:00 ` Arno Wagner
2020-03-30 21:18 ` JT Morée
[not found] ` <20200331014306.GA2009@tansi.org>
2020-03-31 5:35 ` JT Morée
2020-03-31 6:43 ` Arno Wagner
2020-03-31 6:55 ` Michael Kjörling
2020-03-31 9:32 ` Arno Wagner [this message]
2020-03-31 7:06 ` Michael Kjörling
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200331093257.GB6454@tansi.org \
--to=arno@wagner.name \
--cc=dm-crypt@saout.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox