Data security is an important aspect in the process of sending messages, especially for messages that are confidential. There are many methods in protecting data security in cryptography, so the RSA cryptography technique is chosen. This algorithm performs factoring of very large numbers, therefore RSA is considered safe to generate two keys, two large random prime numbers are selected. This st…