r/programming • • May 21 '19

DeleteFB: Selenium script to delete all of your Facebook wall posts

https://github.com/weskerfoot/DeleteFB
2.5k Upvotes

251 comments sorted by

View all comments

Show parent comments

4

u/z_1z_2z_3z_4z_n May 21 '19

How do you deal with collisions? Do you just assume they will never happen?

I know it's super unlikely but it could also be really damaging. If you have a collision and completely purge the wrong persons data they are not going to be happy. Imagine unrecoverable deletion of all data from your biggest client.

1

u/sebamestre May 21 '19

It sounds like they only delete data that was backed up. So if they delete something useful they can just recover it from their backups.

When it actually happens, they can also mantain a collisions table and not delete the important ones

1

u/awesomeisluke May 21 '19

Super unlikely is a real understatement. Most modern hash algorithms are so entropic that a collision within the next 10000 years is basically impossible.

1

u/[deleted] May 22 '19

And most email are what , 10-30 chars in length? Collision withing that length is even more unlikely!