The invention relates to an
encryption and decryption method for identity
authentication of a user-
free system, and provides an identity
authentication and
encryption and decryption method based on an autonomous request of a
client, which is characterized by comprising the following steps: S1, acquiring a
timestamp and a unique identification code of the
client, S2, carrying out hash code calculation on the unique identification code, and determining the absolute value of the calculation result; S3, splicing the absolute values of the timestamps with preset digits, and assembling the spliced absolute values to a network request sent to a
server side, S4, carrying out
encryption and decryption operation of decimal point disassembly on the network request, judging whether a post-decimal point face value and a pre-decimal point face value after the disassembly are the same or not, and if yes, determining that
authentication succeeds; and if not, the authentication fails. According to the technical scheme, firstly, the security is considered, and the security of
data transmission is ensured; as for accuracy, the numerical value of the unique identification code of the
client is used for judgment and calculation of connection with the
server, and the accuracy of
butt joint of the two ends is greatly improved; and with regard to transmission efficiency, transmission links are increased, and the client autonomously requests connection, so that operation steps are reduced, and the working efficiency is improved.