On 01/19/2011 09:37 PM, [email protected] >
But why do I not see "cryptographically-strong permutations for sets
with cardinality other than 2^n"?  It seems like a very natural
primitive for certain things, albeit not for passing octet streams.

RC4 http://en.wikipedia.org/wiki/RC4 is well-defined and practical for any size symbol set (within reason), but I don't know to what extent its security has been analyzed with differently-sized symbol sets. Of course, it's basically deprecated even for N=256 but may be good enough for your purposes.

As Tim said, you can use addition modulo N to mix the key stream to stay within the symbol set.

Seems like academics would be all over that like wet on water.

Word.

- Marsh
_______________________________________________
cryptography mailing list
[email protected]
http://lists.randombit.net/mailman/listinfo/cryptography

Reply via email to