# .shtml format

When you encrypt a file with Seald, it is transformed into an encrypted file, in the .shtml format. This format is simply an HTML (opens new window) file, encapsulating the content of the encrypted file, in the following format:

<!DOCTYPE html>
<!-- saved from url=(0014)about:internet -->
<html>
  <head>
    <title>Seald Previewer</title>
    <meta charset="utf-8">
    <script id="seald_script">
      window.sealdBaseUrl = 'https://decrypt.seald.io/'
      window.sealdDocumentUID = 'a18384a7-a026-4053-a585-c5428d9fb21f'
      window.sealdDocument = 'Fai+xZNqvlFCHPJ4tQ0j...'
    </script>
    <style>
    </style>
  </head>
  <body>
      ...
  </body>
</html>

The seald_script script has three properties in key/value format:

  • sealdBaseUrl: The link to Seald’s lightweight decryption client.
  • sealdDocumentUID: The id of the crypted file.
  • sealdDocument: The content of the encrypted file encoded in Base64 (opens new window) format.