@ipshipyard/crypto
    Preparing search index...

    Interface Crypto

    interface Crypto {
        code: number;
        type: string;
        generatePrivateKey(
            options?: AbortOptions & Record<string, any>,
        ): Promise<PrivateKey>;
        privateKeyFromProtobuf(
            buf: Uint8Array,
            options?: AbortOptions,
        ): PrivateKey | Promise<PrivateKey>;
        publicKeyFromProtobuf(
            buf: Uint8Array,
            options?: AbortOptions,
        ): PublicKey | Promise<PublicKey>;
    }
    Index

    Properties

    code: number

    The code that is used as the Type field in the protobuf representation of the public/private keys

    type: string

    The type of the crypto implementation, e.g. Ed15519

    Methods