私钥和公钥存储在bigchainDB中的什么位置?

时间:2020-02-21 13:39:55

标签: bigchaindb

假设我正在创建密钥对rahul,

我可以通过以下方式获取公钥和私钥

const rahul = new BigchainDB.Ed25519Keypair()```



console.log('public key \n',rahul.publicKey);
console.log('private key \n',rahul.privateKey);```

apart from this, where can find the key pair of rahul in storage ?

1 个答案:

答案 0 :(得分:0)

否,将公钥添加到事务中,而私钥用于签署由用户或实体发起的事务。您将负有管理/存储它们的责任,(请注意:私钥不应由您处理,因为这意味着私钥是由用户自己处理的)

您可以阅读有关密钥管理https://www.researchgate.net/publication/335325343_Key_management_for_blockchain_technology的文章和书籍

https://www.sciencedirect.com/science/article/pii/S2405959519301894