|
![](/i/fill.gif) |
On Wed, 25 Aug 2010 10:28:25 +0100, Orchid XP v8 wrote:
>>>>> Binary shifts are multiplication and division as well. :P
>>>> What you want is binary rotations. ;-)
>>> That depends on whether the bits actually get rotated. From my
>>> recollection of x86 assembly, it's a shift, not a rotation. :)
>>>
>>> Jim
>>
>> My recollection, of course, has changed now that I re-read this, I
>> remember ROR and ROL operators, which do in fact rotate. I just
>> remember using SHL and SHR more frequently.
>
> Whether your processor supports it or not, binary rotations exist. You
> can implement them the hard way if you must. I've seen a few block
> ciphers that use 'em too...
Well, that's why I said what I said about my faulty recollection. ;-)
Jim
Post a reply to this message
|
![](/i/fill.gif) |