An electronic seal including: a plug including: a groove defined therein near an end; a connector inserted in the plug and formed with a plurality of electric contact points; a rechargeable battery connected to the connector via wires; and a radio frequency identification chip connected to the connector through wires; and a socket including: a shell including an opening in which the plug can be inserted into the shell and locked to the socket; a connector for connection to the connector of the plug; a control and communication circuit for providing a sealing command, receiving an encoded command, decoding the encoded command, checking the command, and providing an unsealing command if there is a match for the command, wherein the control and communication circuit further is suitable to record any event of breakage of the electronic seal and the point of time of the event of breakage of the electronic seal and, if the wires to the rechargeable battery are restored or if another plug is inserted, can actively transmit the record of the event of breakage of the electronic seal to a radio frequency identification reader; a locking unit including a ring and a bar horizontally movable through the ring so that the bar can be inserted in and moved out of the groove of the plug; and a radio frequency antenna located in the shell for connection to the radio frequency identification chip, wherein an external radio frequency identification reader can read information of security from the radio frequency identification chip when the rechargeable battery fails. a plug including: a groove defined therein near an end; a connector inserted in the plug and formed with a plurality of electric contact points; a rechargeable battery connected to the connector via wires; and a radio frequency identification chip connected to the connector through wires; and a groove defined therein near an end; a connector inserted in the plug and formed with a plurality of electric contact points; a rechargeable battery connected to the connector via wires; and a radio frequency identification chip connected to the connector through wires; and a socket including: a shell including an opening in which the plug can be inserted into the shell and locked to the socket; a connector for connection to the connector of the plug; a control and communication circuit for providing a sealing command, receiving an encoded command, decoding the encoded command, checking the command, and providing an unsealing command if there is a match for the command, wherein the control and communication circuit further is suitable to record any event of breakage of the electronic seal and the point of time of the event of breakage of the electronic seal and, if the wires to the rechargeable battery are restored or if another plug is inserted, can actively transmit the record of the event of breakage of the electronic seal to a radio frequency identification reader; a locking unit including a ring and a bar horizontally movable through the ring so that the bar can be inserted in and moved out of the groove of the plug; and a radio frequency antenna located in the shell for connection to the radio frequency identification chip, wherein an external radio frequency identification reader can read information of security from the radio frequency identification chip when the rechargeable battery fails. a shell including an opening in which the plug can be inserted into the shell and locked to the socket; a connector for connection to the connector of the plug; a control and communication circuit for providing a sealing command, receiving an encoded command, decoding the encoded command, checking the command, and providing an unsealing command if there is a match for the command, wherein the control and communication circuit further is suitable to record any event of breakage of the electronic seal and the point of time of the event of breakage of the electronic seal and, if the wires to the rechargeable battery are restored or if another plug is inserted, can actively transmit the record of the event of breakage of the electronic seal to a radio frequency identification reader; a locking unit including a ring and a bar horizontally movable through the ring so that the bar can be inserted in and moved out of the groove of the plug; and a radio frequency antenna located in the shell for connection to the radio frequency identification chip, wherein an external radio frequency identification reader can read information of security from the radio frequency identification chip when the rechargeable battery fails.