> For the complete documentation index, see [llms.txt](https://wiki.gen6.life/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.gen6.life/education/learn-how-gen6-works/gen6-app-user-guides/ncrypt-encrypted-messaging.md).

# NCrypt - Encrypted Messaging

NCrypt is a secure, decentralized Web3 messaging platform designed to provide private, tamper-\
proof, and verifiable communication on the blockchain. By leveraging end-to-end encryption combined with on-chain key management, NCrypt ensures that messages remain confidential and protected from unauthorized access.\
\
All encryption operations are performed locally in the user’s browser. Public encryption keys are\
published on-chain, while private keys remain fully under user control. This architecture eliminates\
centralized intermediaries and significantly reduces the risks associated with traditional messaging platforms.\
\
NCrypt also supports optional read-proof verification, enabling cryptographic confirmation that a\
message has been opened. This makes NCrypt suitable for both everyday private communication\
and use cases requiring verifiable message delivery and reading.

**To use NCrypt, a minimum deposit of 1 GSX is required**, granting access to encrypted messaging features and supporting the platform's decentralized infrastructure. The system utilizes the postman pallet, G6 MW API, and stores data on IPFS or custom solutions.

### Access & Authentication

To use NCrypt, users must authenticate before accessing encrypted messaging features.\
\
**Supported authentication methods:**\
\
• Wallet-based authentication (recommended)\
• Google authentication (non-custodial, optional)\
\
Regardless of the chosen method, encryption keys are generated and managed entirely on the\
client side, preserving privacy and user ownership.

<figure><img src="https://3657352850-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSaitTWsqPg1hLUgPftrF%2Fuploads%2FNQQ1hAKa9iyVBkaSRtwy%2FKe%CC%81pernyo%CC%8Bfoto%CC%81%202026-05-08%20-%2020.55.45.png?alt=media&amp;token=95ef98d6-6acf-4ee4-ac43-b7d6ed7a3baf" alt=""><figcaption></figcaption></figure>

### Encryption Key Setup

Before sending or receiving messages, users must configure their encryption keys.

#### Generate Encryption Keys

NCrypt allows users to generate a secure x25519 encryption key pair directly within the application.\
\
• The private key is stored locally in the user’s browser\
• The public key is published on the blockchain\
• A backup phrase is provided and should be stored securely\
\
This key pair is required to encrypt outgoing messages and decrypt incoming messages.

<figure><img src="https://3657352850-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSaitTWsqPg1hLUgPftrF%2Fuploads%2F5IS6gjZQ98Jx3H8EM8ZU%2FScreenshot%202026-01-27%20at%2014-34-56%20NCrypt%20Wiki%20Doc%20-%20NCrypt%20Wiki%20Doc.pdf.png?alt=media&amp;token=2cd33afe-7220-4ba5-a942-4507922b5d6a" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3657352850-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSaitTWsqPg1hLUgPftrF%2Fuploads%2FAgGF0TtbF8bzM1j1mY3l%2FScreenshot%202026-01-27%20at%2014-35-09%20NCrypt%20Wiki%20Doc%20-%20NCrypt%20Wiki%20Doc.pdf.png?alt=media&amp;token=8c130184-9962-4eef-8a13-2dc57a58d31b" alt=""><figcaption></figcaption></figure>

#### Viewing Encryption Keys

After keys are generated, users can view their encryption keys at any time.\
\
**From the NCrypt interface:**\
\
• Click View encryption keys\
• A secure modal opens displaying:\
• Private key (backup phrase) – hidden by default\
• Public key – safe to share and published on-chain\
\
Security warnings are shown to ensure safe handling of sensitive data.

<figure><img src="https://3657352850-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSaitTWsqPg1hLUgPftrF%2Fuploads%2FpL4vTULCS3ocAiqGzpdf%2FScreenshot%202026-01-27%20at%2014-36-58%20NCrypt%20Wiki%20Doc%20-%20NCrypt%20Wiki%20Doc.pdf.png?alt=media&amp;token=ec6ec681-fb81-43d4-b7a1-14ddefaf63fa" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3657352850-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSaitTWsqPg1hLUgPftrF%2Fuploads%2FFfreSDoZSyorJgfzFD2b%2FScreenshot%202026-01-27%20at%2014-37-21%20NCrypt%20Wiki%20Doc%20-%20NCrypt%20Wiki%20Doc.pdf.png?alt=media&amp;token=db7661fe-2c70-4788-9eaa-08741d0b2135" alt=""><figcaption></figcaption></figure>

#### Revoking Encryption Keys

**NCrypt allows users to revoke encryption keys in two different ways:**\
\
**Revoke from Blockchain**\
\
• Removes the public key from the blockchain\
• Prevents others from sending new encrypted messages\
• Private key remains stored locally\
• Keys can be republished later if needed\
\
**Remove from Local Storage**\
\
• Permanently deletes the private key from the browser\
• Existing encrypted messages can no longer be decrypted\
• This action is irreversible\
• Backup phrase is required for recovery

<figure><img src="https://3657352850-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSaitTWsqPg1hLUgPftrF%2Fuploads%2FLH2FI6y2Evr9UUtChH1L%2FScreenshot%202026-01-27%20at%2014-39-53%20NCrypt%20Wiki%20Doc%20-%20NCrypt%20Wiki%20Doc.pdf.png?alt=media&amp;token=5e64019b-fa1c-47f2-8567-1c682cbb9fb9" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3657352850-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSaitTWsqPg1hLUgPftrF%2Fuploads%2FCdyVbzUEFmTGJwxlbDtC%2FScreenshot%202026-01-27%20at%2014-40-09%20NCrypt%20Wiki%20Doc%20-%20NCrypt%20Wiki%20Doc.pdf.png?alt=media&amp;token=d8da3cc2-e177-474c-80be-2b8c7408bb25" alt=""><figcaption></figcaption></figure>

#### Import Encryption Keys

Users who already possess a backup phrase can import their existing encryption keys. This enables seamless access across devices while maintaining full cryptographic control.

<figure><img src="https://3657352850-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSaitTWsqPg1hLUgPftrF%2Fuploads%2FktF2cBkHJYO41qG3Zyqv%2FScreenshot%202026-01-27%20at%2014-41-33%20NCrypt%20Wiki%20Doc%20-%20NCrypt%20Wiki%20Doc.pdf.png?alt=media&amp;token=46b522cc-8bd0-4ad2-a4e8-9fb6474d4f0e" alt=""><figcaption></figcaption></figure>

### Encrypted Messaging

Once encryption keys are configured, users can start secure communication.\
\
**To send a message:**\
\
• Create a new message\
• Specify the recipient’s public address\
• Compose the message

<figure><img src="https://3657352850-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSaitTWsqPg1hLUgPftrF%2Fuploads%2Ftbg2oefgN7T5o00EnJuy%2FScreenshot%202026-01-27%20at%2014-42-45%20NCrypt%20Wiki%20Doc%20-%20NCrypt%20Wiki%20Doc.pdf.png?alt=media&amp;token=c6029ce8-f636-44a8-b1e5-4c4a5dc9c0c2" alt=""><figcaption></figcaption></figure>

All messages are encrypted locally before transmission, ensuring that message content is never\
exposed in plaintext.

<figure><img src="https://3657352850-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSaitTWsqPg1hLUgPftrF%2Fuploads%2FY6JLgen4M9AwjOnrgtJf%2FScreenshot%202026-01-27%20at%2014-43-20%20NCrypt%20Wiki%20Doc%20-%20NCrypt%20Wiki%20Doc.pdf.png?alt=media&amp;token=7c3385de-2048-4137-8f2b-966a170c8ff2" alt=""><figcaption></figcaption></figure>

### Read Proof Messages

NCrypt supports read-proof–enabled messages, providing cryptographic assurance that a message has been opened.\
\
• Senders can enable read-proof protection per message\
• Recipients unlock the message by signing on-chain\
• The read event is verifiable and tamper-proof\
\
This feature enables optionally undisputable communication without revealing message content publicly.

<figure><img src="https://3657352850-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSaitTWsqPg1hLUgPftrF%2Fuploads%2F3q6zTjWB1JxOnTgP4URh%2FScreenshot%202026-01-27%20at%2014-44-49%20NCrypt%20Wiki%20Doc%20-%20NCrypt%20Wiki%20Doc.pdf.png?alt=media&amp;token=09fa2ce6-bfc8-4044-97b4-45d93a0aef15" alt=""><figcaption></figcaption></figure>

### Key Lifecycle Management

NCrypt provides full control over encryption keys, allowing users to manage their cryptographic identity over time. Public keys can be published or revoked on-chain, while private keys remain under exclusive user control. This ensures long-term security and flexibility without reliance on centralized key storage.
