RSA (Rivest–Shamir–Adleman) is a public-key cryptosystem that is widely used for secure data transmission.
JavaScript's RSA algorithm encryption tool has been implemented, complete with key generation, functions to encrypt/decrypt and encode/decode messages.