Re: [Khufu] Pre-Computing the S-Boxes and obtaining aux. keys
From: Nikola Skoric (nick-news_at_net4u.hr)
Date: 10/31/04
- Next message: Nikola Skoric: "Re: determining algorithm used"
- Previous message: Skybuck Flying: "Re: Hunt for rand and srand implementations ;)"
- In reply to: Mok-Kong Shen: "Re: [Khufu] Pre-Computing the S-Boxes and obtaining aux. keys"
- Next in thread: Zeljko Vrba: "Re: [Khufu] Pre-Computing the S-Boxes and obtaining aux. keys"
- Reply: Zeljko Vrba: "Re: [Khufu] Pre-Computing the S-Boxes and obtaining aux. keys"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Sun, 31 Oct 2004 13:39:14 +0100
Dana Sat, 30 Oct 2004 18:44:13 +0200
Mok-Kong Shen (mok-kong.shen@t-online.de) kaze...
> Nikola Skoric wrote:
> >
> > I'm trying to implement Khufu algoritm for my cryptography class. I
> > started with absolutely no information on my hands and achieved in
> > finding a paper (http://groups.google.com/groups?q=khufu+pre-
> > computing+s-boxes&hl=en&lr=&selm=7982%40hoptoad.uucp&rnum=2) written by
> > Ralph C. Merkle, the author of the algorithm, describing the
> > algorithm... the only problem is that's not enough to implement this
> > algorithm without making some wild assumptions.
>
> I am ignorant, but, according to HAC, the algorithm is patented.
Pardon me for my ignorance <g> but, what would HAC be?
> I don't know whether that would eventually cause you problems.
Well, if it caused problems, it would couse problems to my teacher who
put Khufu on the list of algoritmhs offered for implementation... so
that's fine :-)
> On the other hand, HAC says 'The majority of the patent consists
> of C-code listings specifying the ciphers'. So it seems that
> you might get quite some useful informations from the patent
> document.
Now, do you know where could I start asking for patent document?
> As to the generation of its S-boxes, which you asked, I have
> a 'guess':
Exactly what I'm trying to circumvent :-)
> The user chooses a PRNG and generates with the key
> as seed an array of 256 32-bit values. This would allow an
> 8-bit value to map to a 32-bit value, realizing the 8-32
> S-box. Of course, an 'essential' task that remains is
> appropriately finding one or a class of good PRNGs for that
> purpose.
Well, that for sure is really close to (if not exactly) the way Khufu
works, but I can't be sure because the word "seed" is not used to
connect the user supplied key and the stream of preudo-random numbers in
the original article... to be precise, there is no connection at all,
and that gap between the stream of preudo-random numbers and and the
user supplied key is my main problem... and if I connected that two, I'd
have the complete algorithm on my hands.
-- "Stara boljka se leci starim lekom... Dabome vinom, ta nebi valjda mlekom?"
- Next message: Nikola Skoric: "Re: determining algorithm used"
- Previous message: Skybuck Flying: "Re: Hunt for rand and srand implementations ;)"
- In reply to: Mok-Kong Shen: "Re: [Khufu] Pre-Computing the S-Boxes and obtaining aux. keys"
- Next in thread: Zeljko Vrba: "Re: [Khufu] Pre-Computing the S-Boxes and obtaining aux. keys"
- Reply: Zeljko Vrba: "Re: [Khufu] Pre-Computing the S-Boxes and obtaining aux. keys"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|