Re: Simple cipher program help

From: Paul (luap.h_at_bt_removethis_internet.com)
Date: 04/29/03


Date: Mon, 28 Apr 2003 23:24:17 +0000 (UTC)


"ošin" <ošin@ragnarok.com> wrote in message
news:varcia1fqvond2@corp.supernews.com...
> > ošin - what do you mean by diffusing data - do mean shift bits left or
> right
> > in the key?
>
> I mean move the bits about to the left and the right in the data, not the
> key.
>
> > If I do that and XOR, will I be able to reverse everything?!
>
> Yes, if you do it in the right way. You use the key information to shift
> bits one way or the other after each round of encrypt, and then you use
the
> same key info to shift them back into place an each round of the decrypt.

So for example, I could use an integer value created from the key, and shift
the data bits at each stage by this value?

Sorry for asking really dumb questions :s

Paul



Relevant Pages

  • RE: Multiply IF AND OR comparisons
    ... Probably the best way to handle this is using the Solver Add-In. ... First round should be filled manually. ... The next shift round should be generated by using data from the last / ... if employee has exceeded one or more of the limits in previous round ...
    (microsoft.public.excel.worksheet.functions)
  • Multiply IF AND OR comparisons
    ... First round should be filled manually. ... The next shift round should be generated by using data from the last / ... if employee has exceeded one or more of the limits in previous round ...
    (microsoft.public.excel.worksheet.functions)
  • Re: WPA-PSK (Wi-Fi Protected Access with a pre-shared key) - Not as strong as WPA2,
    ... voicing off round, in line with reduced, under sticky pilots. ... shift into the remote piers, but don't gasp the gradual bowls. ...
    (sci.crypt)
  • Help me sort though some complex math
    ... Each round encryption is composed of 3 functions ... which are rbytechain(), rbitshiftand S_E. ... void E (unsigned char *key, unsigned char *block, unsigned int shift) ... the mathematical description of this cipher is: ...
    (sci.math)
  • Re: Basic encryption
    ... Ya i took into consideration when you shift you loose bits. ... justORing it with 0x80 for char to test if bit was 1/0 so i could tack ... > I'm looking to do my own basic encryption. ... because im round shifting the bits the decryption ...
    (comp.lang.cpp)