Encrypts data with emphasis on storage space.
|0,1|2,3,4|5,6,7|8........n|
[0; 1] - CRC16 of [2; n]
[2; 4] - Is payload compressed (1 bit), Time in hours since epoch (23 bit)
[5; 7] - Random bytes
[8; n] - AES encrypted data
- Printing in Hex format or as a 2D barcode:
- physical backup for important passwords
Create file with content:
url: github
email: [email protected]
password: 12345678
---
url: discord
email: [email protected]
password: 87654321
Encrypt
mtsd -e plaintext.mtsd -o encrypted.bin
Decrypt
mtsd encrypted.bin
pwd = from_user_input()
salt = derive_salt_from([time_now, random_bytes])
key, nonce = Argon2id(iter=3,mem=64MB,parallel=2)
encrypted = AES256_CTR(data, key, nonce)
Backward compatibility is not supported in the current implementation. Any changes to Argon2 complexity or LZMA parameters will break the ability to decrypt old data.
This project was created for personal use.
-
1Password
https://1password.com/files/1Password-White-Paper.pdfMaster Password + Secret key (Account key, ~16 bytes, stored local only)
PBKDF2-HMAC-SHA256 with 100,000+100,000 iterations
AES-256-GCM -
Dashlane
https://www.dashlane.com/download/Dashlane_SecurityWhitePaper_September2019.pdfArgon2d with 3 iterations, 32 MB memory cost, and 2 parallel tasks
or PBKDF2-HMAC-SHA256 with 200,000 iterations
AES-256-CBC -
LastPass
https://enterprise.lastpass.com/wp-content/uploads/LastPass-Technical-Whitepaper-3.pdfPBKDF2-HMAC-SHA256 with 100,100 iterations
AES-256-CBC