title: Encrypt in frontend and decrypt once it reaches backend
body: <p>What would be the most secure way to do so?</p>
  <p>So far I tried providing the same public key for every user which automatically encrypts the data sent over a https request to my backend.</p>
  <p>For that reason, people with enough knowledge can get the json payload before its encrypted and encrypt it by themselves on their end and send it over my server.</p>
  <p>The most ideal case would be so the client side only has access to the public key while the server can view both user's private key and public key.</p>
  <p>I'm currently using RSA for this<br />
  Frameworks in use: VueJS and NestJS</p>