In order to solve the problem of user information insecurity in the process of network information security sharing, this study proposes a data encryption technology based on network information security sharing. This method applies the data encryption technology to the computer network security protection, which can not only improve the computer network security but also protect the user data information security and provide users with more efficient and high-quality computer network services. The experimental results show that it takes about 2.35 seconds to generate a 1024-bit key pair. It takes about 12.29 seconds to encrypt a 2.1 m text document with a 1024-bit public key and about 561 seconds to decrypt a 2.1 m text document. Conclusion. The data encryption technology based on network information security sharing can effectively solve the problem of user information insecurity in the process of network information security sharing.