api-wasm
    Preparing search index...

    Function publicKeyFromSecretKey

    • Converts a secret key to a corresponding public key.

      Arguments

      • secret_key - The secret key in PEM format.

      Returns

      A JsValue containing the corresponding public key. If an error occurs during the conversion, JavaScript error is returned.

      Parameters

      • secret_key: string

      Returns any