All intellectual property rights are limitations on free speech. Courts rule against the publication of exact copies, or identical copies in different media, every day. IP law requires courts to prevent copying else it be meaningless. The flag is not an expression of a new idea, it is a facsimile of a protected number, protected data little different than a copyrighted movie or patented design. Its publication could only be legal as some sort of "fair use", but exact copies that directly impact the financial viability of protected material rarely fall within fair use.
They would rule against the flag. If persons want to express themselves using this material, they need to add some form of comment so as to avail themselves of fair use protection. Add a stripe to the flag and get back to us.
Rolling a die and publishing a number between 1 and 6 is not copyrightable.
Would a single number of 20 bytes be a "work?" Even if it's almost certainly generated through strong random? That seems unlikely.
What Sony could do would seem be civil action under "trade secrets" and/or the EULA.
Dunno if that's the actual interpretation though?
(have law degree, not practising lawyer)
In the civil world, the issue would be one of harm. You aren't going to sustain a lawsuit unless you can state some harm. So long as nobody can read the encrypted material, there is no harm. But as soon as someone does you've got a case to bring.
There is an interesting statute of limitations question here as to when the clock starts, but that is a minor procedural issue imho. Many such statutes start not at the wrongdoing, but at the realization of the harm (or reasonable time of realization).
1. https://en.wikipedia.org/wiki/Bright-line_rule