11 Commits

Author SHA1 Message Date
Martijn Laan
487b78d6dc
Cleanup. 2025-06-11 20:46:41 +02:00
Martijn Laan
9254dce05d
Remove outdated LowFrag lists code. 2025-05-03 08:02:18 +02:00
Martijn Laan
2564881d94
Cleanup. 2025-04-23 10:08:52 +02:00
Jordan Russell
86eeba3d8a
Fix missing FChunkStarted check in EndChunk.
This was causing an extra empty stream to be written after every chunk (each 2 bytes, with lzma2).
2024-11-12 00:07:21 -06:00
Martijn Laan
9a91001f91
Cleanup password testing: use the encryption itself (by encrypting 0 and comparing results) to test the password instead of having something separate as before.
Encryption itself is unchanged by this commit except that the key is now derived from the password only once. So it still uses SHA-256 for this.

The next step is changing this to a proper KDF, by changing the implementation of GenerateEncryptionKey and the TSetupEncryptionKey type.
2024-09-26 13:26:30 +02:00
Martijn Laan
58b27f351b
Cleanup remaining MD5, SHA1 and Hash unit use. 2024-09-26 11:39:48 +02:00
Martijn Laan
a1274f5d75
Finish branch. The examples still have iscrypt.dll/.zip downloads but keeping those for now. 2024-09-01 19:03:22 +02:00
Martijn Laan
db877306fa
Implement the base nonce. 2024-09-01 18:46:43 +02:00
Martijn Laan
d9d845ab62
Replace ArcFour with XChaCha20 which also removes iscrypt.dll use.
Todo:
-Use a single random base nonce for all files
-Remove/replace various iscrypt use in .iss scripts
-Delete iscrypt.dll on updates
-Update help & whatsnew & web
-Rename TSetupSalt/TSetupNonce?
2024-08-31 22:14:32 +02:00
Martijn Laan
123ed634d3
Add comments. 2024-08-09 08:27:13 +02:00
Martijn Laan
b2df5696ba
Split off more. Compiler.SetupCompiler has the Git history of what was Compiler.Compile.pas (and Compile.pas before that). 2024-08-08 20:14:26 +02:00