Algorithm send correctly, sending key to be done