<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://fileformats.archiveteam.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://fileformats.archiveteam.org/index.php?action=history&amp;feed=atom&amp;title=Codecrypt</id>
		<title>Codecrypt - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://fileformats.archiveteam.org/index.php?action=history&amp;feed=atom&amp;title=Codecrypt"/>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/index.php?title=Codecrypt&amp;action=history"/>
		<updated>2026-04-20T20:57:08Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.19.2</generator>

	<entry>
		<id>http://fileformats.archiveteam.org/index.php?title=Codecrypt&amp;diff=33822&amp;oldid=prev</id>
		<title>Effect2: Wording</title>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/index.php?title=Codecrypt&amp;diff=33822&amp;oldid=prev"/>
				<updated>2019-11-05T00:36:38Z</updated>
		
		<summary type="html">&lt;p&gt;Wording&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 00:36, 5 November 2019&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 18:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 18:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Identification ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Identification ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Codecrypt files are divided into sections, each of which start with the character 's' ([[ASCII]]), a decimal string &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;length&lt;/del&gt;, a colon character, and then the binary data of that section.&amp;lt;ref&amp;gt;Source → secncode.cpp → sencode_bytes::encode()&amp;lt;/ref&amp;gt; The first section will always be an identifier of the subtype of file, which is a string starting with &amp;quot;CCR-&amp;quot;. Files produced by the current version of Codecrypt will therefore start with:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Codecrypt files are divided into sections, each of which start with the character 's' ([[ASCII]]), &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;the content length as &lt;/ins&gt;a decimal string, a colon character, and then the binary data of that section.&amp;lt;ref&amp;gt;Source → secncode.cpp → sencode_bytes::encode()&amp;lt;/ref&amp;gt; The first section will always be an identifier of the subtype of file, which is a string starting with &amp;quot;CCR-&amp;quot;. Files produced by the current version of Codecrypt will therefore start with:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* {{magic|s25:CCR-PUBLIC-KEY-QCMDPC-MCE}} &amp;lt;ref name=&amp;quot;s&amp;quot;&amp;gt;Source → secncode.cpp → serialization.cpp as of commit 8e608b4d8da122abd0aceb0cb1dfc4faae95a286&amp;lt;/ref&amp;gt;&amp;lt;sup&amp;gt;:173&amp;lt;/sup&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* {{magic|s25:CCR-PUBLIC-KEY-QCMDPC-MCE}} &amp;lt;ref name=&amp;quot;s&amp;quot;&amp;gt;Source → secncode.cpp → serialization.cpp as of commit 8e608b4d8da122abd0aceb0cb1dfc4faae95a286&amp;lt;/ref&amp;gt;&amp;lt;sup&amp;gt;:173&amp;lt;/sup&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* {{magic|s26:CCR-PRIVATE-KEY-QCMDPC-MCE}} &amp;lt;ref name=&amp;quot;s&amp;quot; /&amp;gt;&amp;lt;sup&amp;gt;:199&amp;lt;/sup&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* {{magic|s26:CCR-PRIVATE-KEY-QCMDPC-MCE}} &amp;lt;ref name=&amp;quot;s&amp;quot; /&amp;gt;&amp;lt;sup&amp;gt;:199&amp;lt;/sup&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Effect2</name></author>	</entry>

	<entry>
		<id>http://fileformats.archiveteam.org/index.php?title=Codecrypt&amp;diff=33819&amp;oldid=prev</id>
		<title>Effect2: Despite this area being in the news recently, I've been meaning to do this particular software for a while</title>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/index.php?title=Codecrypt&amp;diff=33819&amp;oldid=prev"/>
				<updated>2019-11-05T00:34:49Z</updated>
		
		<summary type="html">&lt;p&gt;Despite this area being in the news recently, I&amp;#039;ve been meaning to do this particular software for a while&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{FormatInfo&lt;br /&gt;
|formattype=electronic&lt;br /&gt;
|subcat=Encryption&lt;br /&gt;
|released=2013&amp;lt;ref&amp;gt;https://e-x-a.org/codecrypt/mk_bachelor.pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
|extensions={{ext|ccr}}&lt;br /&gt;
}}&lt;br /&gt;
'''Codecrypt''' (shortened to '''CCR''') is a software tool, and format, that performs &amp;quot;post-quantum&amp;quot; cryptography. It functions like a stripped-down version of [[PGP]]; users have a keyring of their private and other peoples' public keys, and they are able to sign things with their private keys, encrypt things to public keys, etc. It was created by Miroslav Kratochvíl for a bachelor's thesis.&amp;lt;ref&amp;gt;https://e-x-a.org/codecrypt/&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Codecrypt can produce symmetrically- as well as asymmetrically-encrypted files. Its signature system, FMTSeq&amp;lt;ref&amp;gt;Dalit Naor, Amir Shenhav, Avishai Wool, &amp;quot;One-Time Signatures Revisited: Practical Fast Signatures Using Fractal Merkle Tree Traversal&amp;quot;, 2006 IEEE 24th Convention of Electrical and Electronics Engineers in Israel, online at https://www.eng.tau.ac.il/~yash/Naor_Shenhav_Wool.pdf&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;Source → README.md&amp;lt;/ref&amp;gt;, requires a limit (by default, 65535, i.e. 2^16-1) on the number of signatures a signing key can make.&lt;br /&gt;
&lt;br /&gt;
== Post-Quantum Cryptography ==&lt;br /&gt;
A [[quantum computer]] is a computer, constructed with knowledge recent developments in physics, which is able to solve some problems more efficiently than a &amp;quot;classical&amp;quot; computer. Several classes of problems are in the area of cryptography. In particular, a practical quantum computer would be able to break all presently widely-used public-key cryptography systems. However, practical quantum computers have not yet been developed; there is public research that occasionally makes the news for a development, and presumably a lot of secret government work, but, so far, there is nothing useful that a quantum computer can do that a &amp;quot;classical&amp;quot; one cannot. More information can be found at [[Wikipedia:Post-quantum cryptography]], as well as this wiki's pages on [[quantum computer]]s and [[encryption]].&lt;br /&gt;
&lt;br /&gt;
Codecrypt is one of several pieces of software developed with what is intended to be quantum-computer-safe cryptography, but before quantum computers become an immediate threat. It seems plausible that Codecrypt will only see use during this interim period, especially if some the algorithms it uses are shown to be insecure, and because more popular systems like PGP and [[TLS]] are flexible enough to have sufficiently mature post-quantum encryption &amp;lt;!--neutrino electromagnetic firewall--&amp;gt;algorithms added in, once the threat becomes pressing enough.&lt;br /&gt;
&lt;br /&gt;
== Extensions ==&lt;br /&gt;
Codecrypt does not add an extension to files by default, but the documentation uses the extension &amp;quot;.ccr&amp;quot; in examples.&lt;br /&gt;
&lt;br /&gt;
== Identification ==&lt;br /&gt;
Codecrypt files are divided into sections, each of which start with the character 's' ([[ASCII]]), a decimal string length, a colon character, and then the binary data of that section.&amp;lt;ref&amp;gt;Source → secncode.cpp → sencode_bytes::encode()&amp;lt;/ref&amp;gt; The first section will always be an identifier of the subtype of file, which is a string starting with &amp;quot;CCR-&amp;quot;. Files produced by the current version of Codecrypt will therefore start with:&lt;br /&gt;
* {{magic|s25:CCR-PUBLIC-KEY-QCMDPC-MCE}} &amp;lt;ref name=&amp;quot;s&amp;quot;&amp;gt;Source → secncode.cpp → serialization.cpp as of commit 8e608b4d8da122abd0aceb0cb1dfc4faae95a286&amp;lt;/ref&amp;gt;&amp;lt;sup&amp;gt;:173&amp;lt;/sup&amp;gt;&lt;br /&gt;
* {{magic|s26:CCR-PRIVATE-KEY-QCMDPC-MCE}} &amp;lt;ref name=&amp;quot;s&amp;quot; /&amp;gt;&amp;lt;sup&amp;gt;:199&amp;lt;/sup&amp;gt;&lt;br /&gt;
* {{magic|s22:CCR-PRIVATE-KEY-FMTSEQ}} &amp;lt;ref name=&amp;quot;s&amp;quot; /&amp;gt;&amp;lt;sup&amp;gt;:334&amp;lt;/sup&amp;gt;&lt;br /&gt;
* {{magic|s21:CCR-PUBLIC-KEY-FMTSEQ}} &amp;lt;ref name=&amp;quot;s&amp;quot; /&amp;gt;&amp;lt;sup&amp;gt;:416&amp;lt;/sup&amp;gt;&lt;br /&gt;
* {{magic|s20:CCR-ENCRYPTED-MSG-v2}} &amp;lt;ref name=&amp;quot;s&amp;quot; /&amp;gt;&amp;lt;sup&amp;gt;:451&amp;lt;/sup&amp;gt;&lt;br /&gt;
* {{magic|s17:CCR-SIGNED-MSG-v2}} &amp;lt;ref name=&amp;quot;s&amp;quot; /&amp;gt;&amp;lt;sup&amp;gt;:481&amp;lt;/sup&amp;gt;&lt;br /&gt;
* {{magic|s12:CCR-HASHFILE}} &amp;lt;ref name=&amp;quot;s&amp;quot; /&amp;gt;&amp;lt;sup&amp;gt;:525&amp;lt;/sup&amp;gt;&lt;br /&gt;
* {{magic|s10:CCR-SYMKEY}} &amp;lt;ref name=&amp;quot;s&amp;quot; /&amp;gt;&amp;lt;sup&amp;gt;:583&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It can be inferred that either {{magic|s20:CCR-ENCRYPTED-MSG-v1}} and {{magic|s17:CCR-SIGNED-MSG-v1}} or {{magic|s17:CCR-ENCRYPTED-MSG}} and {{magic|s14:CCR-SIGNED-MSG}} also existed at some point.&lt;br /&gt;
&lt;br /&gt;
=== ASCII Armor ===&lt;br /&gt;
Like PGP, CCR also has an ASCII-armored format. Codecrypt's ASCII-armored files begin with a line consisting of {{magic|------ccr begin ------}}&amp;lt;ref&amp;gt;Source → envelope.cpp → envelope_read()&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
* [https://e-x-a.org/codecrypt/ Website]&lt;br /&gt;
* [https://gitea.blesmrt.net/exa/codecrypt Source]&lt;br /&gt;
** [https://github.com/exaexa/codecrypt Mirror on GitHub]&lt;br /&gt;
* [https://pqcrypto.org/ Post-Quantum Cryptography]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Effect2</name></author>	</entry>

	</feed>