From: "Robert I. Eachus" <rieachus@attbi.com>
Subject: Re: Extended modal types
Date: Mon, 27 May 2002 23:47:59 GMT
Date: 2002-05-27T23:47:59+00:00 [thread overview]
Message-ID: <3CF2C6AF.60607@attbi.com> (raw)
In-Reply-To: 87elfyb0iz.fsf@deneb.enyo.de
Florian Weimer wrote:
> The modulus has to be static, that's why modular types aren't
> extremely useful even in this context.
You are probably thinking of public-key encryption where the keys and
modulii are too big for ordinary modular types anyway. I was thinking
of many algorithms that use modular arithmetic to introduce
non-linearity, for example multiplying two four-bit nibbles mod 17. In
cases like this, the modulus is a static part of the algorithm
definition, and needs to be prime for invertability.
Similarly, hashing tables often use the sum of the character values mod
the size of the hash table to generate a hash location.
next prev parent reply other threads:[~2002-05-27 23:47 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-24 8:53 Extended modal types Anatoly Chernyshev
2002-05-24 11:38 ` Marc A. Criley
2002-05-25 15:57 ` Robert Dewar
2002-05-25 18:06 ` Frank J. Lhota
2002-05-25 18:40 ` Florian Weimer
2002-05-25 21:56 ` David C. Hoos, Sr.
2002-05-27 4:57 ` Robert I. Eachus
2002-05-27 5:52 ` Florian Weimer
2002-05-27 23:47 ` Robert I. Eachus [this message]
2002-05-29 1:16 ` Robert Dewar
2002-05-29 2:31 ` Robert A Duff
2002-05-29 9:19 ` Dmitry A. Kazakov
2002-05-29 9:54 ` Robert Dewar
2002-05-29 15:20 ` Anatoly Chernyshev
2002-05-29 23:36 ` Robert Dewar
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox