官术网_书友最值得收藏!

User accounts in DApps

Many applications need user accounts' functionality. Data associated with an account should be modifiable by the account owner only. DApps simply cannot have the same username- and password-based account functionality as do centralized applications because passwords cannot prove that the data change for an account has been requested by the owner.

There are quite a few ways to implement user accounts in DApps. But the most popular way is using a public-private key pair to represent an account. The hash of the public key is the unique identifier of the account. To make a change to the account's data, the user needs to sign the change using his/her private key. We need to assume that users will store their private keys safely. If users lose their private keys, then they lose access to their account forever.

主站蜘蛛池模板: 宿松县| 南靖县| 土默特右旗| 怀宁县| 诸城市| 依兰县| 青州市| 平陆县| 开原市| 桐城市| 耒阳市| 彝良县| 应城市| 白水县| 如东县| 邢台县| 西宁市| 柳江县| 波密县| 新建县| 金川县| 通城县| 淅川县| 栖霞市| 平遥县| 双牌县| 万安县| 平潭县| 博爱县| 焦作市| 勃利县| 江山市| 茌平县| 正阳县| 青冈县| 朝阳区| 九台市| 南溪县| 施甸县| 梁山县| 桑日县|