hashCode

open override fun hashCode(): Int(source)

Calculates the hash code value for this PeerDID object.

The hash code is calculated using the did and privateKeys properties of the PeerDID object. The hash code value is obtained by adding the hash code of the did property to the result variable, then multiplying the result by 31 and adding the hash code of the privateKeys array using the contentHashCode() method.

Return

The hash code value for this PeerDID object.