Skip to content

Latest commit

 

History

History
executable file
·
17 lines (12 loc) · 539 Bytes

README.md

File metadata and controls

executable file
·
17 lines (12 loc) · 539 Bytes

RSA-cryptosystem-swift

Boiler plate for RSA encryption to avoid Man-in-the-middle attack during networking. Can also be used to generate encrypted QR codes.

  1. Hello get encrypted into 2048 bits RSA and the QR code is generated.
  2. If anyone scan the QR code then they get encrpted string.
  3. Use store private key in server to decrypt the data that gets scanned from the QR code.