Re:Announcing TripleSec - JavaScript encryption combining Sa...
by genericacct on Friday September 20, 2013 @03:08AM
(#6416361)
It's all very cool but "magic bytes"? When I encrypt data the last thing i want is for its format to be easily recognizable.
[ Parent
| on HN ]
Re:Announcing TripleSec - JavaScript encryption combining Sa...
by maxtaco on Saturday September 21, 2013 @12:15PM
(#6423390)
That's a good point. You can feel free to strip them off. After byte 8, the rest of the outputs will appear almost entirely random. It depends on your usage. I'm imagining a database table on a server with a column of TripleSec-encrypted values. In that case, the adversary knows what he/she is getting by looking at the DB schema or reading the code.