Which do you find more intimidating to implement, Cryptography or Data Compression? This is about perception, and please assume this is "from scratch" rather than plugging in a library.
1 Boost
0 Likes
rakoo
@rakoo@blah.rako.space
·
activity timestamp
59 min. ago
@ryanc cryptography, because failure is catastrophic
@rakoo So is data compression failure.
@ryanc data compression failure can be detected, you can check if decompression returns what's expected. Cryptography errors can't, because you can't really test "did anyone other than intended recipient get my mesage"
@rakoo @ryanc Well, there's ways to test parts of cryptography, like checksum algorithms I've no issue dealing with them.
Encryption… no.
Secure RNG? Nope.
While yeah data compression, there's few ways to screw it up (ironically quite few are close to like failing to do Encrypt-then-Mac) but well the worst is data loss (where checksums can help against), not data leaks.
Encryption… no.
Secure RNG? Nope.
While yeah data compression, there's few ways to screw it up (ironically quite few are close to like failing to do Encrypt-then-Mac) but well the worst is data loss (where checksums can help against), not data leaks.