Skip to content

Commit

Permalink
Update push.md
Browse files Browse the repository at this point in the history
  • Loading branch information
krzysztof-jurkowski-roche authored and mirceanis committed Aug 27, 2019
1 parent 6a3b49c commit e91a404
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion transports/push.md
Expand Up @@ -10,7 +10,7 @@ Push notifications is a transport for sending requests to users. To make sure th

### Proper encoding of the request

The message SHOULD be encrypted. See the [message encryption](/messages/encrypted.md) document for more details.
The message SHOULD be encrypted. See the [message encryption](/messages/encryption.md) document for more details.

First, simply wrap the request url in a JSON object and encode it as a string, like so: `{"url":"<request-url>"}`.
We recommend padding the message so that it is less vulnerable to analysis attacks. This is done by appending spaces to the message until it is of length `N * I`, where `N` is any integer and `I` is some consistent number. We recommend `I = 50`.
Expand Down

0 comments on commit e91a404

Please sign in to comment.