gnu-crypto-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [GNU Crypto] Cascade Cipher API (long)


From: Raif S. Naffah
Subject: Re: [GNU Crypto] Cascade Cipher API (long)
Date: Sat, 22 Mar 2003 05:46:26 +1100
User-agent: KMail/1.4.3

-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

hello Casey,

On Friday 21 March 2003 20:13, Casey Marshall wrote:
> Raif S. Naffah wrote:
> > On Thursday 20 March 2003 13:33, Casey Marshall wrote:
> >>Raif S. Naffah wrote:
> >>| ...
> >>| here is a first cut of the Cascade API, with a proof-of-concept
> >>| (TestOfCascade).
> >>|
> >>| things i'm not sure, or not 100% convinced, about are:
> >>|
> >>| * the way to initialise a cascade;
> >>
> >>Since a complete Cascade essentially represents a tree, one way
> >> would be to pass it a Map of Maps. The keys could be unique
> >> identifiers returned by the append() method, or perhaps allow
> >> user-supplied keys to be passed to that method.
> >
> > good idea :-)  i'll think more about it and how to implement it
> > within the API.
>
> I've been working a bit with the classes you posted earlier; the
> patches here do the following:
>
> * Cascade generates a unique key for every Stage (just a new Object,
> nothing special), returning it when a Stage is added.
> * This key is used to lookup sub-maps in the attributes map passed to
> Cascade.init(), and each of these sub-maps initialises the
> appropriate Stage.
> * The block size of a Cascade is the least common multiple of all
> block sizes of the Stages (lcm() in Util).

nice :-)  i opted for implementing lcm() with BigInteger methods.

i'll checkin the classes shortly.


> > ...
> > do you have concrete ideas about the Assembly?  if not i'll start
> > on this as soon as i checkin the cascade stuff.
>
> The very first sketch is attached...

i'll have a closer look at this, in the next few days.


thanks + cheers;
rsn
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Que du magnifique

iD8DBQE+e14D+e1AKnsTRiERA6TGAJ91XA0co50uQcUx7E0xNeuXghM8GQCgoWci
wJQEJH6q/F+6jE0GWhnRXp0=
=Z/H9
-----END PGP SIGNATURE-----





reply via email to

[Prev in Thread] Current Thread [Next in Thread]