PufferASCII-armored encrypted archive

application/octet-stream

Safe

Magic Bytes

Offset: 0
42 6C 69 6E 6B 20 62 79 20 44 2E 54 2E 53

The Puffer ASCII-armored encrypted archive is a legacy file format developed by the Puffer encryption utility for secure data storage. This format converts binary encrypted data into text-based ASCII characters to facilitate safe transmission via email systems and early bulletin board services. While once widely utilized for personal privacy, the format is now considered obsolete as modern cryptographic standards and specialized archival tools have superseded its functionality.

Extension

.apuf

MIME Type

application/octet-stream

Byte Offset

0

Risk Level

Safe

Validation Code

How to validate .apuf files in Python

Python
def is_apuf(file_path: str) -> bool:
    """Check if file is a valid APUF by magic bytes."""
    signature = bytes([0x42, 0x6C, 0x69, 0x6E, 0x6B, 0x20, 0x62, 0x79, 0x20, 0x44, 0x2E, 0x54, 0x2E, 0x53])
    with open(file_path, "rb") as f:
        return f.read(14) == signature

How to validate .apuf files in Node.js

Node.js
function isAPUF(buffer: Buffer): boolean {
  const signature = Buffer.from([0x42, 0x6C, 0x69, 0x6E, 0x6B, 0x20, 0x62, 0x79, 0x20, 0x44, 0x2E, 0x54, 0x2E, 0x53]);
  return buffer.subarray(0, 14).equals(signature);
}
Go
func IsAPUF(data []byte) bool {
    signature := []byte{0x42, 0x6C, 0x69, 0x6E, 0x6B, 0x20, 0x62, 0x79, 0x20, 0x44, 0x2E, 0x54, 0x2E, 0x53}
    if len(data) < 14 {
        return false
    }
    return bytes.Equal(data[:14], signature)
}

API Endpoint

GET /api/v1/apuf
curl https://filesignature.org/api/v1/apuf

Related Formats