Interface Keystore

Hierarchy

  • Keystore

Properties

crypto: {
    cipher_params: {
        nonce: string;
    };
    ciphertext: string;
    kdf: "argon2id";
    kdf_params: {
        memlimit_kib: number;
        opslimit: number;
        parallelism: number;
        salt: string;
    };
    secret_type: "ed25519";
    symmetric_alg: "xsalsa20-poly1305";
}

Type declaration

  • cipher_params: {
        nonce: string;
    }
    • nonce: string
  • ciphertext: string
  • kdf: "argon2id"
  • kdf_params: {
        memlimit_kib: number;
        opslimit: number;
        parallelism: number;
        salt: string;
    }
    • memlimit_kib: number
    • opslimit: number
    • parallelism: number
    • salt: string
  • secret_type: "ed25519"
  • symmetric_alg: "xsalsa20-poly1305"
id: string
name: string
public_key: string
version: 1

Generated using TypeDoc