The invention provides an 
encryption and decryption method based on an RSA 
algorithm, and the method comprises the steps: 1, enabling an 
authorization party to generate a public key and a private key, enabling the 
authorization party to store the private key, and enabling the public key to be placed in a business 
system; 2, the 
authorization party encrypts the authorization information through a private key; 3, generating an authorization file from the encrypted 
ciphertext; 4, uploading the authorization file to a 
service system; 5, verifying and decrypting the authorization file through a public key in the 
service system; step 6, obtaining authorization information in the authorization file; and step 7, performing service 
logic control according to the authorization information. According to the invention, an asymmetric 
encryption mode is adopted, the security and non-tampering property of the authorization file are improved, the risk of secret leakage is reduced through a public and private key mode, and the requirements of security and uniqueness of the authorization file are met.