我做了个软件,想用激活码方式授权,有些只想授权1个星期,光是授权的话,用MD5做加密的,但是怎么让激活码带着授权时间让程序识别呢?请教大神们
认证0级讲师
Generate an account for the client. The client needs to verify with the server every time it uses it, and the server will determine whether it has expired. Of course, communication data needs to be encrypted, which is currently a safer approach.
There is basically no solution for the client. Users can modify the system time or even throw it into a virtual machine and run it.
Use the server to verify.
python’s itsdangerous should be able to achieve it
Generate an account for the client. The client needs to verify with the server every time it uses it, and the server will determine whether it has expired. Of course, communication data needs to be encrypted, which is currently a safer approach.
There is basically no solution for the client. Users can modify the system time or even throw it into a virtual machine and run it.
Use the server to verify.
python’s itsdangerous should be able to achieve it