libp2p
    Preparing search index...

    Interface Ed25519PrivateKey

    interface Ed25519PrivateKey {
        publicKey: Ed25519PublicKey;
        raw: Uint8Array;
        type: "Ed25519";
        equals(key?: any): boolean;
        sign(
            data: Uint8Array<ArrayBufferLike> | Uint8ArrayList,
        ): Uint8Array<ArrayBufferLike> | Promise<Uint8Array<ArrayBufferLike>>;
    }
    Index

    Properties

    Methods

    Properties

    publicKey: Ed25519PublicKey

    The public key that corresponds to this private key

    The raw private key bytes

    type: "Ed25519"

    The type of this key

    Methods