AOConnect-Email is a tool developed based on AO for managing emails, with the following key features:
-
Send Email: Supports sending encrypted emails to any AR wallet address.
-
Email List: Supports pagination display of emails, moving to other folders, marking as read, starring, etc.
-
Read Emails: Mark emails as read, reply to and forward emails, move to other folders, mark as read, star, etc.
-
Reply and Forward: Supports replying to or forwarding emails.
-
Folder Support: Starred, Spam, Trash, and directories Important, Social, Updates, Forums, Promotions.
Encryption Algorithm: Utilizes AES-256-GCM symmetric encryption to encrypt the subject and content of emails separately, then stores them on the AO network. Encryption Steps: Uses the recipient and sender addresses as input, computes the SHA-256 hash to get a HASH value, takes the first 32 bits as the KEY for AES-256-GCM encryption algorithm, generates a random IV, and the TAG as the return value of the encryption algorithm. Concatenates the 32-bit IV, the email ciphertext, and the 32-bit TAG directly to obtain the final ciphertext used. Encryption Scope: The encryption algorithm encrypts the Subject and Content separately, resulting in two independent ciphertexts. Additional Notes: Version number V1 is also stored on the AO network for selecting different decryption algorithms. Security: Anyone can decrypt the email content following the encryption steps mentioned above, so use with caution.
Main Improvement: Building upon the V1 algorithm, V2 incorporates asymmetric encryption to encrypt the KEY used in AES-256-GCM. The sender uses the recipient's public key and their private key to encrypt the KEY, and the recipient uses their private key to decrypt it, then uses AES-256-GCM symmetric encryption to decrypt the email content. Additional Steps: When setting up email, users automatically generate a public-private key pair, storing the derived public key on the AO network, enabling others to send encrypted emails using this public key. Security: Encrypting the KEY with asymmetric encryption ensures only the sender and recipient can view the email content. Each email uses a different KEY. The current solution offers extremely high security, making it safe to use. Public-Private Keys: The public key stored on the AO network is a derived public key, not the wallet's public key, so there are no concerns regarding the exposure of the wallet's public key.
- Send Email: Supports sending encrypted emails to any AO address
- Email List: Supports pagination display of emails, moving to other folders
- Read Emails: Mark emails as read, reply to and forward emails
- Reply and Forward: Supports replying to or forwarding emails
- Other Language Testing