As you can see in the diagram, GradeMate uses RSA encryption to secure user credentials. When you log in, your credentials are sent to the server to be encrypted using the public key. The public key is widely distributed, but only the private key can decrypt the data. The server doesn’t store your credentials itself; instead, it creates a token containing the encrypted credentials and sends it back to your computer. This token is then used for all further requests.
In summary, GradeMate never stores your credentials on its servers. Your credentials are encrypted using RSAbefore being sent to the server, and only the server can decrypt them. All communication between your device and GradeMate’s servers is encrypted using HTTPS and the standard SSL protocol.