Comment by c22 20 hours ago Probably not as random as you want it to be. 3 comments c22 Reply sysguest 20 hours ago well wouldn't it add up?someWhatRandom1 xor someWhatRandom2 xor notRandom3 xor ...should be more 'random' than just 'someWhatRandom1' throawayonthe 19 hours ago i'm not sure it would necessarily be more random if you're mixing in a lower-entropy source which the accelerometer probably is LoganDark 19 hours ago XOR is the worst hashing function imaginable, especially if the data isn't truly random, because it can cancel out to become even less random!It's better to use a KDF or something. Even a block cipher should work far better than XOR.
sysguest 20 hours ago well wouldn't it add up?someWhatRandom1 xor someWhatRandom2 xor notRandom3 xor ...should be more 'random' than just 'someWhatRandom1' throawayonthe 19 hours ago i'm not sure it would necessarily be more random if you're mixing in a lower-entropy source which the accelerometer probably is LoganDark 19 hours ago XOR is the worst hashing function imaginable, especially if the data isn't truly random, because it can cancel out to become even less random!It's better to use a KDF or something. Even a block cipher should work far better than XOR.
throawayonthe 19 hours ago i'm not sure it would necessarily be more random if you're mixing in a lower-entropy source which the accelerometer probably is
LoganDark 19 hours ago XOR is the worst hashing function imaginable, especially if the data isn't truly random, because it can cancel out to become even less random!It's better to use a KDF or something. Even a block cipher should work far better than XOR.
well wouldn't it add up?
someWhatRandom1 xor someWhatRandom2 xor notRandom3 xor ...
should be more 'random' than just 'someWhatRandom1'
i'm not sure it would necessarily be more random if you're mixing in a lower-entropy source which the accelerometer probably is
XOR is the worst hashing function imaginable, especially if the data isn't truly random, because it can cancel out to become even less random!
It's better to use a KDF or something. Even a block cipher should work far better than XOR.