deltachat::push

Function pad_device_token

source
fn pad_device_token(s: &str) -> String
Expand description

Pads the token with spaces.

This makes it impossible to tell if the user is an Apple user with shorter tokens or FCM user with longer tokens by the length of ciphertext.