News for hackers. Stuff that matters.
Re:The Most Dangerous Code in the Web Browser by deian on Tuesday August 04, 2015 @12:50AM (#10001732)
Yep, you are right. If the crypto/label API didn't force a fixed-length blob (which may be hard to do), it would certainly be leaking some information.
Re:The Most Dangerous Code in the Web Browser by ikeboy on Tuesday August 04, 2015 @08:38AM (#10002941)
I was thinking more like timing side channels (if you can force the encryption at will and it isn't fixed time).

The possible security models where you can send data but it's encrypted are not very appealing. For a single application it may be fine (lastpass, or chrome syncing with passphrase), but it's really hard to see how that can be a standard api and remain secure.