Please create an account to participate in the Slashdot moderation system

 



Forgot your password?
typodupeerror
×

Comment Re:It's all about entropy (Score 3, Informative) 467

I suggest you read up on cryptography.
Encryption, in general, is attempting exactly what you're attempting: make plaintext look random.
What you're trying to defend against is known as a "known-plaintext attack".
You can use any standard cryptographic approach such as AES-CBC as suggested above.
For a password-based approach, there are also standard key generation algorithms such as PKCS #5.
Note that your claim that your approach gives "as random as it gets" data is not true; once you've fixed for all time a set of random numbers, they're no longer "random".
As for generating random-like numbers deterministically, that's what stream ciphers (e.g. RC4) do.

Comment Re:what about a weird-arch linux? (Score 1) 227

Well, POSIX requires CHAR_BIT to be 8, so if you change that it's normal if it breaks.
But otherwise to test portability this seems interesting, although it would be most interesting if it could detect when something isn't done right.
Most importantly though, you'd need a compiler to target this architecture.
For instance, NULL being 0 is usually not part of the computer architecture itself; 0 is addressable on x86, causing this bug:
http://lwn.net/Articles/341773/

Comment Re:But they're NOT radiometers! (Score 4, Informative) 37

This led me to look at the wikipedia article for "radiometer".
A radiometer measures the strength of the radiation; whether the measurable effect is caused by heat or anything else is not relevant as long as it's proportional to the quantity being measured; in that sense the common toy *is* a radiometer.
As for the reason it moves, it turns out it's more complicated than that.

Comment Re:Isn't it all about options? (Score 1) 361

While I haven't used C#, from what I've heard it's vastly superior to Java; so I understand if you like it.
However, still from what I've heard, mono is a very poor implementation of .Net. For instance, the VM uses a GC designed for C, and apparently the library is not written especially carefully.

Slashdot Top Deals

Oh, so there you are!

Working...