CPC H04L 9/3221 (2013.01) [G06Q 20/0658 (2013.01); G06Q 20/3825 (2013.01); H04L 9/008 (2013.01); H04L 9/0825 (2013.01); H04L 9/0869 (2013.01); H04L 9/50 (2022.05); H04L 2209/56 (2013.01)] | 20 Claims |
1. A blockchain-based transaction method, comprising:
identifying a transaction amount of a transaction involving a remitter account and a remittee account registered in a blockchain network and a commitment random number of the transaction;
obtaining a first commitment random number ciphertext and a first transaction amount ciphertext by encrypting the commitment random number and the transaction amount separately based on a first key of the remitter account using a first encryption algorithm;
obtaining a second commitment random number ciphertext and a second transaction amount ciphertext by encrypting the commitment random number and the transaction amount separately based on a second key of the remittee account using the first encryption algorithm; and
causing transaction data of the transaction to be stored in a blockchain of the blockchain network, the transaction data of the transaction including the first commitment random number ciphertext, the first transaction amount ciphertext, the second commitment random number ciphertext, and the second transaction amount ciphertext.
|