Simplest way to encrypt a text file in java

前端 未结 11 1503
萌比男神i
萌比男神i 2020-11-30 01:18

For my School project I had to show that I can utilize file handling within a program. For this I made a very simple login process that you can create an account on that wri

11条回答
  •  旧巷少年郎
    2020-11-30 02:05

    use simple subtitute encryption algorythm, change every character into number or other character.

    1. get every character of your string.
    2. get the ascii value of the string.
    3. add the ascii value with specific integer (this will be your encryption key)
    4. display the result

提交回复
热议问题