A method for securing communications between an access point and a station, the method comprising: generating, by the station, a first truncated hashed service set identifier, SSID, by applying a first hash function to a first SSID known by the station, wherein the first SSID is modified by the station with a value; transmitting, by the station, a first message to the access point, wherein the first message includes the first truncated hashed SSID and the value used to modify the SSID; receiving, by the station, a second message from the access point, wherein the second message includes a second truncated hashed SSID generated by the access point by applying a second hash function to a second SSID associated with the access point and a second value, wherein the second SSID is modified by the AP with the second value; generating, by the station, a third truncated hashed SSID by applying the second hash function to the first SSID, wherein the first SSID is modified by the station with the second value; determining, by the station, if the third truncated hashed SSID matches the second truncated hashed SSID; transmitting, by the station, a third message to the access point if the third truncated hashed SSID matches the second truncated hashed SSID, wherein the third message is representative for an Authentication Request frame; receiving, by the station, a fourth message from the access point, wherein the fourth message is representative for an Authentication Response frame; generating, by the station, a fourth truncated hashed SSID, by applying a hash function to the first SSID wherein the first SSID is modified by the station with a third value; transmitting, by the station, a fifth message to the access point, wherein the fifth message includes the fourth truncated hashed SSID and the third value used to modify the SSID and wherein the fifth message is representative for an Association Request frame; receiving, by the station, a sixth message from the access point, wherein the sixth message is representative for an Association Response frame. generating, by the station, a first truncated hashed service set identifier, SSID, by applying a first hash function to a first SSID known by the station, wherein the first SSID is modified by the station with a value; transmitting, by the station, a first message to the access point, wherein the first message includes the first truncated hashed SSID and the value used to modify the SSID; receiving, by the station, a second message from the access point, wherein the second message includes a second truncated hashed SSID generated by the access point by applying a second hash function to a second SSID associated with the access point and a second value, wherein the second SSID is modified by the AP with the second value; generating, by the station, a third truncated hashed SSID by applying the second hash function to the first SSID, wherein the first SSID is modified by the station with the second value; determining, by the station, if the third truncated hashed SSID matches the second truncated hashed SSID; transmitting, by the station, a third message to the access point if the third truncated hashed SSID matches the second truncated hashed SSID, wherein the third message is representative for an Authentication Request frame; receiving, by the station, a fourth message from the access point, wherein the fourth message is representative for an Authentication Response frame; generating, by the station, a fourth truncated hashed SSID, by applying a hash function to the first SSID wherein the first SSID is modified by the station with a third value; transmitting, by the station, a fifth message to the access point, wherein the fifth message includes the fourth truncated hashed SSID and the third value used to modify the SSID and wherein the fifth message is representative for an Association Request frame; receiving, by the station, a sixth message from the access point, wherein the sixth message is representative for an Association Response frame.