Skip to content

Commit 0a663b7

Browse files
committed
used encrypti0n.com default
1 parent 5ba0be7 commit 0a663b7

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

packages/core/src/config/defaults.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
// packages/core/src/config/defaults.ts
22
export const DefaultConfig = {
3-
saltLengths: { low: 8, high: 16 } as const,
3+
saltLengths: { low: 12, high: 16 } as const,
44
argon: {
5-
low: { time: 1, mem: 32 * 1024, parallelism: 1 },
5+
low: { time: 5, mem: 64 * 1024, parallelism: 1 },
66
middle: { time: 20, mem: 64 * 1024, parallelism: 1 },
7-
high: { time: 20, mem: 128 * 1024, parallelism: 2 }
7+
high: { time: 40, mem: 64 * 1024, parallelism: 1 }
88
},
99
chunkSize: 512 * 1024 // 512 KiB
1010
};
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
// packages/core/src/header/constants.ts
2-
export const HEADER_START_BYTE = 0xA5; // magic
2+
export const HEADER_START_BYTE = 0x01; // magic
33
export const CURRENT_VERSION = 0; // 3 bits

0 commit comments

Comments
 (0)