How is it best to encrypt or redecorate JS data?



  • How can a simple encryption be created, there's an idea to write your encryption by numbers, so we're allowed to have that meaning: 3123 That's how to transform it, so we're finally getting something like that. faddggfa♪ In this example, we got it because
    1 = dd
    2= gg
    3 = fa
    How is it easier to implement such a code? Or what would you recommend a way to encrypt the data and then redecode them?



  • Simple means - Caesar code, code block (XOR), encryption table. It's impossible to think of a good algorithm without knowledge of theory. Read the Diffy-Hellman algorithm, the arithmetic on the ring, the elliptical curves.

    Slow down: The biggest problem with simple encryption is that they leave the constant frequency of the letters. On this basis, the message is easily decoded. That's why the first thing to do is normalize the alphabet.

    And the point is: A good algorithm remains protected by the difficulty of computing the input data on the result without knowledge of the secret key, not by concealing the algorithm itself.


Log in to reply
 


Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2