Pay-to-Public-Key-Hash (P2PKH) and Trezor (2024)

Pay-to-Public-Key-Hash (P2PKH) is a method of sending bitcoin to a specific address. In this method, instead of sending money to a public key, as in P2PK transactions, a hash of the public key is used.

You know how you have an address to receive mail at your house? P2PKH is like a digital address where people can send bitcoin to, but instead of your name and address, it uses a long string of numbers and letters. This is called a "hash", and it helps keep your information private.

By using the hash of the public key rather than the public key itself, P2PKH enchances bitcoin security. This is because the hash is secured by SHA-256 encryption.Currently no known quantum algorithms can break the SHA-256 encryption. This means that even if a quantum computer were to be used to try to derive the private key from the public key, it would not be able to do so because the public key is not visible on the blockchain, only its hash is.

In the context of P2PKH, SHA-256 is used to create a hash of the public key. This hash is then used in the ScriptPubKey of the P2PKH transaction.A scriptPubKey is a script that is included in the output of a transaction. It sets the rules that must be satisfied in order to use the funds related to that output.

In P2PKH, the scriptPubKey contains the hash of the public key, while the ScriptSig includes the signature and the public key. The public key is only visible on the blockchain when the coins are spent, and not when they are received.

It is one of the most commonly used transaction types in bitcoin transactions.

P2PKH addresses start with a "1"

A closer look at transaction scripts

Anoutputthat pays to a P2PKHscriptPubKeyis spent by aninputwith a simplescriptSigthat providespublic keyand the correspondingsignature:

scriptPubKey: OP_DUP OP_HASH160 <publicKeyHash> OP_EQUALVERIFY OP_CHECKSIG
scriptSig: <signature> <publicKey>


Check out the following example of a Bitcoin transaction with one P2PKH input and two P2PKH outputs on theblockchain explorer.


To learn even more about how bitcoin transactions work check out this blog post on types of bitcoin transactions:Part I,Part 2.

More detailed information can be found on theBitcoin Wikior inBitcoin.org Developer guide.

Pay-to-Public-Key-Hash (P2PKH) and Trezor (2024)
Top Articles
Android Tutorial => How to add a CPU Governor
Timeline of U.S. Stock Market Crashes
#ridwork guides | fountainpenguin
Food King El Paso Ads
Washu Parking
The 10 Best Restaurants In Freiburg Germany
St Als Elm Clinic
Unlocking the Enigmatic Tonicamille: A Journey from Small Town to Social Media Stardom
Optimal Perks Rs3
You can put a price tag on the value of a personal finance education: $100,000
Strange World Showtimes Near Amc Braintree 10
Bernie Platt, former Cherry Hill mayor and funeral home magnate, has died at 90
Shooting Games Multiplayer Unblocked
UEQ - User Experience Questionnaire: UX Testing schnell und einfach
Uhcs Patient Wallet
Libinick
Huntersville Town Billboards
Webcentral Cuny
Best Mechanics Near You - Brake Masters Auto Repair Shops
Vegito Clothes Xenoverse 2
Myhr North Memorial
12 Top-Rated Things to Do in Muskegon, MI
How to Download and Play Ultra Panda on PC ?
Jordan Poyer Wiki
Unable to receive sms verification codes
WRMJ.COM
Top 20 scariest Roblox games
Gillette Craigslist
Summoners War Update Notes
Will there be a The Tower season 4? Latest news and speculation
Craigslist Sf Garage Sales
NIST Special Publication (SP) 800-37 Rev. 2 (Withdrawn), Risk Management Framework for Information Systems and Organizations: A System Life Cycle Approach for Security and Privacy
Gideon Nicole Riddley Read Online Free
Tamil Play.com
Marine Forecast Sandy Hook To Manasquan Inlet
Louisville Volleyball Team Leaks
Craigslist Jobs Brownsville Tx
Pokemon Reborn Locations
Mars Petcare 2037 American Italian Way Columbia Sc
Ferguson Employee Pipeline
Lcwc 911 Live Incident List Live Status
Autum Catholic Store
Guided Practice Activities 5B-1 Answers
Brauche Hilfe bei AzBilliards - Billard-Aktuell.de
22 Golden Rules for Fitness Beginners – Barnes Corner Fitness
Rise Meadville Reviews
Huntsville Body Rubs
Dietary Extras Given Crossword Clue
Gear Bicycle Sales Butler Pa
Bellin Employee Portal
Latest Posts
Article information

Author: Wyatt Volkman LLD

Last Updated:

Views: 5776

Rating: 4.6 / 5 (46 voted)

Reviews: 93% of readers found this page helpful

Author information

Name: Wyatt Volkman LLD

Birthday: 1992-02-16

Address: Suite 851 78549 Lubowitz Well, Wardside, TX 98080-8615

Phone: +67618977178100

Job: Manufacturing Director

Hobby: Running, Mountaineering, Inline skating, Writing, Baton twirling, Computer programming, Stone skipping

Introduction: My name is Wyatt Volkman LLD, I am a handsome, rich, comfortable, lively, zealous, graceful, gifted person who loves writing and wants to share my knowledge and understanding with you.