miniTool/minitool3/encrypted文件结构.txt
2025-01-01 17:35:02 +08:00

14 lines
287 B
Plaintext

*.encrypted文件结构
(D)
4B: enc data + iv size
16B: iv
{data size}B: enc data(AES256 encryption)
SecretKey = "dB3aqcLtAmBd"
KeyBase = "RWd3NusabzRc"
hmac = new HMACSHA256(Encoding.UTF8.GetBytes(SecretKey))
AESKey = hmac.ComputeHash(Encoding.UTF8.GetBytes(KeyBase))
iv = 看顶上