35 karma · joined Mar 3, 2019 (7y ago) · 10 submissions
comment 2y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
The init function was named along the lines of “MyClassName_UNSAFE::initUnsafeIUnderstandTheRisks()”
And the library itself was called something like “library-name-unsafe-my-team-name-must-approve-diff”
So anyone trying to use it would have to add a library with that name to their list of dependencies and would come to us asking for a code review, and more than half the time we would redirect them to a safer alternative (valid use cases for the unsafe library were few and far between).
comment 7y ago · link · parent
We offer a proof that LtHash with our choice of parameters provides over 200 bits of security. You would have to read the paper for the details.
comment 7y ago · link · parent
If you want to use signatures over the hash as proof of data set integrity, you need two things. 1) you need to make sure that hash({a}) + hash({b}) == hash({a, b}). 2) ensure that hash() is collision resistant - in other words, it needs to be computationally infeasible to find hash(S) == hash(T), S != T for any sets S and T. We prove that LtHash with our choice of parameters has this property in the paper (which is linked from the blog post).