search

Home  >  Q&A  >  body text

3DES encryption, how to save the key

To make a Springboot project, you need to use 3DES encryption, generate the key locally, and send it to another server.
Other classes in the program will also use this local key.
How should I save it? This local key?
Is there any good way?
I am a novice, please give me some advice.

伊谢尔伦伊谢尔伦2787 days ago870

reply all(1)I'll reply

  • 给我你的怀抱

    给我你的怀抱2017-06-23 09:14:42

    Write it in the configuration file

    reply
    0
  • Cancelreply