Blockchain User Authentication via Trusted Smart Contract Re-Encryption
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing user element authentication methods face challenges in efficiently and securely authenticating user identities across multiple authorities without disclosing privacy information.
Innovation Solution
A blockchain-based method using a smart contract in a trusted execution environment manages user element authentication, encrypting and decrypting user elements without direct communication between clients and authorities, ensuring privacy through secondary encryption processing.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If a mediator is added to manage user element authentication, then authentication efficiency is improved, but user privacy security deteriorates because the user must send encrypted user elements to the mediator
Solution Approach 1:
The patent introduces a blockchain system as an intermediary that performs encrypted computation. The blockchain node receives encrypted user elements, performs decryption and authentication operations within its secure environment, and returns results without exposing plaintext data. This resolves the contradiction by providing a mediator that maintains both efficiency (through centralized coordination) and security (through cryptographic protection).
Solution Approach 2:
The patent changes the encryption parameter state by using different encryption keys for different stages: the user encrypts with the blockchain node's public key, and the authentication authority uses its own decryption key. This layered encryption approach allows the system to maintain security while enabling efficient authenticated operations.
2Adaptability or versatility
If multiple user element authentication authorities coexist, then authentication versatility is improved, but system complexity deteriorates making it difficult for users to identify proper authorities
Solution Approach 1:
The blockchain system provides universal authentication services that work with multiple authentication authorities. The smart contract manages interactions with any authorized authority uniformly, allowing users to authenticate with different authorities through the same interface without needing to understand the complexity of selecting or managing multiple authorities.
Solution Approach 2:
The system enables self-service authentication where users can independently interact with the blockchain to authenticate with appropriate authorities. The smart contract automatically routes authentication requests to the correct authority based on the user element type, eliminating the need for users to manually identify or select proper authorities.
Data Source
Figure 1~2
Figure 3
Figure 4~5
AI summary
Blockchain-based user element authentication methods and apparatuses are provided. The method is applied to a node device in a blockchain, including: receiving a smart contract invocation transaction, where the smart contract invocation transaction includes an encrypted to-be-authenticated user element that is provided by a user client; in response to the smart contract invocation transaction, invoking encryption conversion logic in the smart contract, decrypting the encrypted to-be-authenticated user element in a trusted computing environment, and performing secondary encryption processing, so that the user element authentication authority decrypts the to-be-authenticated user element, and performs user element authentication; and obtaining an authentication result submitted by the user element authentication authority, and storing the authentication result in the blockchain, so that an authentication result user connected to the blockchain obtains the authentication result from the blockchain, and determines, based on the authentication result, authenticity of a user identity provided by the user client.