Distributed ledger technology: How digital identity works via blockchain