Skip to content

.seald format

When you encrypt a file with Seald, it is transformed into an encrypted file, in .seald format. This format is a binary format encapsulating the contents of the encrypted file, consisting of 3 elements:

  • a prefix SEALD.IO_ used to identify the format;
  • 4 bytes describing the length of the BSON prefix encoded as UInt32LE;
  • a BSON prefix containing {v: '1', mid: <uuidv4>}, mid being the identifier of the encrypted file;
  • the rest of the file is then the result of encrypting a TAR containing a single encrypted file.