comp.lang.ada
 help / color / mirror / Atom feed
From: Marius Amado-Alves <amado.alves@gmail.com>
Subject: Re: Simple hash or pseudo-random function
Date: Mon, 16 Jul 2018 07:52:03 -0700 (PDT)
Date: 2018-07-16T07:52:03-07:00	[thread overview]
Message-ID: <95eab41a-0c93-441e-9817-cb13ff0b4ca7@googlegroups.com> (raw)
In-Reply-To: <5a66cd8a-e11d-4a59-bce1-8cc693b4160a@googlegroups.com>

Once I did this very simple function: create the target bitstring on N bits (your integer range 1..365, N=9) from N segments (or N bits at fixed intervals) of the source bitstring (your long integer).


  parent reply	other threads:[~2018-07-16 14:52 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-16  8:20 Simple hash or pseudo-random function gautier_niouzes
2018-07-16 13:34 ` Shark8
2018-07-17  4:44   ` robin.vowels
2018-07-16 14:52 ` Marius Amado-Alves [this message]
2018-07-16 20:59   ` gautier_niouzes
2018-07-16 17:17 ` Jeffrey R. Carter
2018-07-16 21:14   ` gautier_niouzes
2018-07-17  6:09     ` Jeffrey R. Carter
2018-07-18 13:38       ` gautier_niouzes
2018-08-01  9:08         ` gautier_niouzes
2018-07-17  0:40 ` Dan'l Miller
2018-07-17  6:44 ` Paul Rubin
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox