This research paper presents algorithms for solving the problem of increasing data flow by forming a distributed database. Based on this, methods for optimizing the storage and processing of data in computer networks are presented. A distributed registry and cryptographically sensitive data processed by blockchain technology are considered. In the general case, blockchain is a multifunctional and multi-level information technology designed to reliably record various procedures and operations carried out on the network, a technology for reliable distributed storage of records of all ever completed transactions. The blockchain is a chain of data blocks, the volume of which is constantly growing as new blocks are added with records of the most recent transactions.