[#PKHash-2constructor-02]
= xref:PKHash.adoc[PKHash]::PKHash
:relfileprefix: ../
:mrdocs:

Constructors

== Synopses

Declared in `&lt;addresstype&period;h&gt;`

Construct a null public&hyphen;key hash&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:PKHash/2constructor-06.adoc[PKHash]();
----

[.small]#xref:PKHash/2constructor-06.adoc[_» more&period;&period;&period;_]#

Construct a public&hyphen;key hash from a key identifier&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:PKHash/2constructor-05.adoc[PKHash](xref:CKeyID.adoc[CKeyID] const& pubkey&lowbar;id);
----

[.small]#xref:PKHash/2constructor-05.adoc[_» more&period;&period;&period;_]#

Construct a public&hyphen;key hash from a public key&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:PKHash/2constructor-0b.adoc[PKHash](xref:CPubKey.adoc[CPubKey] const& pubkey);
----

[.small]#xref:PKHash/2constructor-0b.adoc[_» more&period;&period;&period;_]#

Construct a public&hyphen;key hash from a raw 160&hyphen;bit hash&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:PKHash/2constructor-0f.adoc[PKHash](xref:uint160.adoc[uint160] const& hash);
----

[.small]#xref:PKHash/2constructor-0f.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *pubkey&lowbar;id*
| The key identifier&period;
| *pubkey*
| The public key to hash&period;
| *hash*
| The raw hash value&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
