# Uploading to IPFS Network

Once the encrypted data has been assigned its unique Content Identifier (CID), it is distributed across the InterPlanetary File System (IPFS) network for storage. IPFS is a peer-to-peer decentralized storage protocol designed to provide high availability and resilience by distributing data across numerous independent nodes rather than relying on centralized servers.

The encrypted file, referenced by its CID, is uploaded to multiple IPFS nodes. These nodes can be operated by a diverse group of participants, including community members, third-party storage providers, and even the users themselves. Each node stores one or more copies of the encrypted data, creating redundancy that is vital for fault tolerance. This redundancy ensures that if one or several nodes go offline or become unreachable, the data can still be retrieved from other nodes holding the same content.

Decentralized distribution across IPFS nodes eliminates single points of failure. Unlike traditional centralized storage services, where downtime or attacks on a single server can result in data unavailability or loss, the IPFS network’s distributed nature protects against such vulnerabilities. The network is inherently resistant to censorship attempts because data is spread across multiple jurisdictions and operators, making it difficult for any one entity to block or remove content.

IPFS also uses a distributed hash table (DHT) to efficiently locate nodes storing the requested content. When a user or AI agent wants to retrieve data, the network queries the DHT to find the nodes holding the encrypted file corresponding to the CID. This dynamic and resilient retrieval mechanism ensures consistent access even in a highly distributed environment.

By leveraging IPFS, Encryptum provides a secure and reliable decentralized storage infrastructure that enhances data availability, durability, and censorship resistance, meeting the demanding needs of AI-native systems and applications.

***
