Thank-you all for our contributions! Over the last few days of studying, I [think that I] understand all of the basics of transactions now! I truly appreciate it.
I'm not starting to familiarize myself with the scripting process. I understand that the scriptPubKey sets conditions to be solved by the scriptSig. I also understand that there are different ways to do it. Here is the standard one I found on the wiki: https://en.bitcoin.it/wiki/Script#Standard_Generation_Transaction_.28pay-to-pubkey.29
The one before it, P2PKH seems much more complicated. https://en.bitcoin.it/wiki/Script#Standard_Transaction_to_Bitcoin_address_.28pay-to-pubkey-hash.29
My question is, is there an advantage that P2PKH offers over Standard in terms of security? If I were trying to implement my own transaction, which one should I follow? Thanks in advanced for any help!