From: Sergey Matveev Date: Thu, 27 Mar 2025 08:55:37 +0000 (+0300) Subject: Recommendation to omit zero bytes in MAGIC X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=f8bb65b7f5db9560654cb13c72476f01f0bade8a4ab9837d554dca2025034e73;p=keks.git Recommendation to omit zero bytes in MAGIC --- diff --git a/spec/encoding/magic.texi b/spec/encoding/magic.texi index 1a885cd..f46b941 100644 --- a/spec/encoding/magic.texi +++ b/spec/encoding/magic.texi @@ -4,7 +4,9 @@ MAGIC is an atom holding magic number/string aimed to identify the data following it. It is a concatenation of ASCII("KEKS") and 12-byte magic, -padded with zeros if necessary. +padded with zeros if necessary. Zero bytes should not be used in it, +except for trailing ones. + It is intended to be prepended to the KEKS-encoded data in files. @multitable @columnfractions .5 .5