toMulticodec

Converts the given value to a multicodec byte array using the specified keyType.

Return

The multicodec byte array.

Parameters

value

The value to convert.

keyType

The keyType representing the verification method type.