The invention provides a safety protection method and device, and the method comprises the steps: a broadcast end transmits a broadcast frame, and the broadcast frame comprises the safety capability information of the broadcast end; the response end receives the broadcast frame, selects a cryptographic
algorithm according to the security capability information, and sends the cryptographic
algorithm to the broadcast end through a response frame; the broadcast end and the response end generate the same shared key and a deduction key thereof according to the selected cryptographic
algorithm; the broadcast end and the response end can use the shared key and the deduction key thereof to carry out safety protection on signals and data. According to the method, the problem that communication and data interaction have no security protection in a
connectionless communication scene is solved, and the privacy security of a user is protected. The application supports an IEEE protocol, such as an IEEE 802.11 be / Wi-Fi 7 / EHT protocol, an IEEE 802.11 bn / UHR / Wi-Fi 8 protocol, an IEEE Integrated mmWave / integrated
millimeter wave / IMMW protocol, an IEEE 802.15 / UWB protocol, or an IEEE 802.11 bf / sensor / sensing protocol, and the application also supports an IEEE protocol. The method and the device can also support a star flash / spark link / nearlink /
Bluetooth standard protocol.