Ed25519KeyHash.fromPubkey constructor

Ed25519KeyHash.fromPubkey(
  1. List<int> pubKeyBytes
)

Constructor to create an Ed25519KeyHash from a public key bytes.

Implementation

Ed25519KeyHash.fromPubkey(List<int> pubKeyBytes)
    : super(AdaAddressUtils.publicKeyToHash(pubKeyBytes),
          AdaTransactionConstant.blake2b224DigestSize);