Do you guys usually exposes the dependencies as in...
# random
i
Do you guys usually exposes the dependencies as interfaces and inject a different implementation on tests, or do you make them open? The downside of exposing interfaces just to make it testable is that you need to @Bind the implementation with dagger instead of just annotating the class constructor with @Inject. Any considerations about that?
j
MD5: 344aab9758bb0d018b93739e7893fb3a
k
You got me.
😂 4
m
could someone explain the joke to me? 😅
l
If you reverse that MD5, it stands for never gonna give you up
😮 1
So anybody that searched it got rick rolled.
i

https://www.youtube.com/watch?v=VIYs1ZXrYwg

😛
m
I didn’t know hashes could be reversed… I thought md*, sha* and the like were one-way encodings! 🤔
k
They are! The "reversal" is looking up the hash in a database of known hashes.
🤦‍♂️ 1
l
And IIRC, MD5 is somewhat easy to reverse nowadays, isn't it?
j
MD5 is considered cryptographicly broken. As is SHA1 SHA1 has been cryptographicly broken for years, but here's the most recent nail in the coffin https://sha-mbles.github.io/
m
Thanks for the insights, people! Yeah silly me… of course I knew about dictionary and collision attacks on hashes but for some reason I didn’t remeber at the moment