search

Home  >  Q&A  >  body text

java - 如何设计带时间限制的激活码?

我做了个软件,想用激活码方式授权,有些只想授权1个星期,光是授权的话,用MD5做加密的,但是怎么让激活码带着授权时间让程序识别呢?
请教大神们

PHP中文网PHP中文网2787 days ago1869

reply all(13)I'll reply

  • 巴扎黑

    巴扎黑2017-04-18 10:31:43

    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.

    reply
    0
  • PHP中文网

    PHP中文网2017-04-18 10:31:43

    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.

    reply
    0
  • PHP中文网

    PHP中文网2017-04-18 10:31:43

    python’s itsdangerous should be able to achieve it

    reply
    0
  • Cancelreply