Complete encrypted private key data, including the ciphertext and dataToEncryptHash necessary to decrypt the key

interface StoredKeyData {
    ciphertext: string;
    dataToEncryptHash: string;
    id: string;
    keyType: KeyType;
    litNetwork: LIT_NETWORKS_KEYS;
    memo: string;
    pkpAddress: string;
    publicKey: string;
}

Hierarchy (view full)

Properties

ciphertext: string

The base64 encoded, salted & encrypted private key

dataToEncryptHash: string

SHA-256 of the ciphertext

id: string

The unique identifier (UUID V4) of the encrypted private key

keyType: KeyType

The type of key that was encrypted -- e.g. ed25519, K256, etc.

litNetwork: LIT_NETWORKS_KEYS

The LIT network that the client who stored the key was connected to

memo: string

A (typically) user-provided descriptor for the encrypted private key

pkpAddress: string

The LIT PKP address that is associated with the encrypted private key

publicKey: string

The public key of the encrypted private key