Return-Path: Received: from v1.tansi.org (mail.tansi.org [84.19.178.47]) by mail.server123.net (Postfix) with ESMTP for ; Tue, 31 Mar 2020 11:32:58 +0200 (CEST) Received: from gatewagner.dyndns.org (81-6-44-245.init7.net [81.6.44.245]) by v1.tansi.org (Postfix) with ESMTPA id 2EBF114014C for ; Tue, 31 Mar 2020 11:32:57 +0200 (CEST) Date: Tue, 31 Mar 2020 11:32:57 +0200 From: Arno Wagner Message-ID: <20200331093257.GB6454@tansi.org> References: <566872408.1293730.1585598590645.ref@mail.yahoo.com> <566872408.1293730.1585598590645@mail.yahoo.com> <20200330210022.GA31903@tansi.org> <1807406216.1448262.1585603129820@mail.yahoo.com> <20200331014306.GA2009@tansi.org> <672718044.1618732.1585632916735@mail.yahoo.com> <20200331064338.GA4895@tansi.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: Subject: Re: [dm-crypt] bits vs bytes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de On Tue, Mar 31, 2020 at 08:55:32 CEST, Michael Kj=F6rling 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),=20 > > long words (32 bits) or quadwords (64 bits) as "units". The=20 > > byte is not really specuial. >=20 > 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=20 base unit. But there are apparently also people that use "nat"=20 (base e) and "decimal digit" (base 10) in Information Theory.=20 So we are fortunate they usually use something binary in the=20 first place! Hence "bit" is basically the most common denominator for the different fields involved and also the most simple one=20 which nicely satisfies KISS. For even more confusion:=20 https://en.wikipedia.org/wiki/Binary_prefix Not only do SI and IEC disagree, but at least with different=20 prefixes, apparently JEDEC does something even worse and=20 redefines existing prefixes! Regards, Arno --=20 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=20 "news" is "something that hardly ever happens." -- Bruce Schneier