crypto
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;
}
-
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"