@substrate-system/multikey
    Preparing search index...

    Function encode

    • Encode the given Uint8Array to a Multikey string.

      Parameters

      • rawKeyBytes: Uint8Array

        The key material

      • keyType: KeyType

        key algorithm -- RSA or Ed25519

      Returns string

      Multikey encoded key string

    Index

    Methods

    Methods

    • Take a CryptoKey instance and convert it to MultiKey format.

      Parameters

      Returns Promise<string>