Re: simple scrambler / descrambler



Reinier wrote:
Hi,

I'm looking for a simple scrambling and descrambling algorithm. My input
is 6 4-bit values (nibbles) and I want it to be scrambled into 6 random
looking nibbles. The descrambler of course must reverse the operation.

The input signals represent low values with lots of leading zero's. So
they look alike a lot. After scrambling they should be totally different.

Thanks,
Reinier

What do you hope to accomplish by scrambling the data?

Are you trying to add a layer of security?
or
Do you want to avoid harmonics in a modulated signal?
or
????


If you are solely concerned with the modulated spectrum, a LFSR is a good choice.

If you want security, use encryption. The Feistel structure Vladimir suggests is an element in several popular block ciphers. But if security is a concern, I would highly recommend using an open standard cipher, rather than using a homegrown cipher.

If security is your desire, you should post this thread to sci.crypt.


It may be worth mentioning, stream ciphers can be used in such a way as to not propagate bit errors. A single bit error in a block cipher will corrupt the entire block.


--
Mark Borgerding
3dB Labs, Inc
Innovate. Develop. Deliver.
.



Relevant Pages

  • Re: is this double CBC?
    ... understand the difference between algorithm and implementation. ... a cipher it is subject to the same security requirements of a cipher. ... The documentation on CBC is correct, but your comparison of your algorithm ...
    (sci.crypt)
  • Re: SPES (my new encryption) one of its kind
    ... with provable security properties rather than a system very difficult ... 1- can you name an encryption system which has provable security? ... an AES128 is far more secure than a Vingenere cipher even with a MB ... may not say that a block cypher used in CTR mode is stupid!) ...
    (sci.crypt)
  • Re: Enigma machine strenght using a computer
    ... cipher with rotors that spin backwards, forwards, stop and start based ... Is this a good way to get security on modern ... encryption less error-prone and they were a cost effective way to get ... case) than not since a wider base uses the same algorithm. ...
    (sci.crypt)
  • Re: Why such a long punishment?
    ... Allied cover story for the security breach for the Battle of Cape Mattapan ... about British Security Co-ordination in the USA in wartime (BSC ... In this respect, Axis liaison was helpful ... Breaking one cipher could provide a lever useful in cracking ...
    (soc.history.war.world-war-ii)
  • No Shared Cipher message
    ... 128 encryption) ... No Shared Cipher ... Your browser is unable to negotiate a security level ... Update your browser to a version that supports the ...
    (microsoft.public.windows.inetexplorer.ie6.setup)