Fixed a bug in the salty protocol encoding (prepare the buffer as expected by the encryption function)