googlearchive / web-push-encryption

[Deprecated] Encryption Utilities for Web Push protocol
Apache License 2.0
84 stars 23 forks source link

Change padding length to obscure content #8

Closed gauntface closed 8 years ago

gauntface commented 8 years ago

At the moment we add the minimum padding buffer, we should dynamically alter based on the input.

wibblymat commented 8 years ago

Rather than automatically choosing a padding length it can now be specified via #14.

Automatic padding could add significant extra processing and network usage without actually providing much security benefit. The "correct" padding to use for a message is probably application specific.