Remix.run Logo
ggm 10 hours ago

Could this be used as "shake your mac for highly random seed" bits?

1e1a 3 hours ago | parent | next [-]

There's lots of noise in the accelerometer readings, even without shaking

mlajtos 6 hours ago | parent | prev | next [-]

Shake your Mac to undo would be consistent with iPhone, iPad, Vision Pro. Yes, you shake your head to undo when wearing AVP.

RupertSalt 6 hours ago | parent [-]

This is a milder version of “Shake to Reboot” which is standard for all Etch-a-Sketch models

c22 9 hours ago | parent | prev [-]

Probably not as random as you want it to be.

sysguest 9 hours ago | parent [-]

well wouldn't it add up?

someWhatRandom1 xor someWhatRandom2 xor notRandom3 xor ...

should be more 'random' than just 'someWhatRandom1'

throawayonthe 9 hours ago | parent | next [-]

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 8 hours ago | parent | prev [-]

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.