]> Cypherpunks repositories - keks.git/commitdiff
Recommendation to omit zero bytes in MAGIC
authorSergey Matveev <stargrave@stargrave.org>
Thu, 27 Mar 2025 08:55:37 +0000 (11:55 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Wed, 2 Apr 2025 07:57:01 +0000 (10:57 +0300)
spec/encoding/magic.texi

index 1a885cdfdd3ab3912a8f083653a31d4fc01187a57b151004cd0a399a0eaa5152..f46b941c06a3ba119069ad3467b911152fb3047c635ee88f83b44f8be6ab8119 100644 (file)
@@ -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