AXX
application/x-axcrypt
Magic Bytes
Offset: 0
C0 B9 07 2E 4F 93 F1 46 A0 15 79 2C A1 D9 E8 21
The AXX file format is a proprietary encrypted container developed and maintained by AxCrypt AB for the secure storage and transmission of data. It is primarily used to protect sensitive personal or business documents using the Advanced Encryption Standard (AES) before uploading them to cloud services or sharing via email. While the container itself is considered safe, users must maintain the integrity of their private keys and passphrases to ensure long-term accessibility to the locked contents.
Validation Code
How to validate .axx files in Python
Python
def is_axx(file_path: str) -> bool:
"""Check if file is a valid AXX by magic bytes."""
signature = bytes([0xC0, 0xB9, 0x07, 0x2E, 0x4F, 0x93, 0xF1, 0x46, 0xA0, 0x15, 0x79, 0x2C, 0xA1, 0xD9, 0xE8, 0x21])
with open(file_path, "rb") as f:
return f.read(16) == signature
How to validate .axx files in Node.js
Node.js
function isAXX(buffer: Buffer): boolean {
const signature = Buffer.from([0xC0, 0xB9, 0x07, 0x2E, 0x4F, 0x93, 0xF1, 0x46, 0xA0, 0x15, 0x79, 0x2C, 0xA1, 0xD9, 0xE8, 0x21]);
return buffer.subarray(0, 16).equals(signature);
}
Go
func IsAXX(data []byte) bool {
signature := []byte{0xC0, 0xB9, 0x07, 0x2E, 0x4F, 0x93, 0xF1, 0x46, 0xA0, 0x15, 0x79, 0x2C, 0xA1, 0xD9, 0xE8, 0x21}
if len(data) < 16 {
return false
}
return bytes.Equal(data[:16], signature)
}
API Endpoint
GET
/api/v1/axx
curl https://filesignature.org/api/v1/axx