<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[SoliForum - 3D Printing Community — XYZprinting Open Source NFC key calculator online: www.nfckey.xyz]]></title>
		<link>https://www.soliforum.com/topic/16909/xyzprinting-open-source-nfc-key-calculator-online-wwwnfckeyxyz/</link>
		<atom:link href="https://www.soliforum.com/feed/rss/topic/16909/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in XYZprinting Open Source NFC key calculator online: www.nfckey.xyz.]]></description>
		<lastBuildDate>Tue, 21 Jan 2025 17:56:02 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: XYZprinting Open Source NFC key calculator online: www.nfckey.xyz]]></title>
			<link>https://www.soliforum.com/post/157182/#p157182</link>
			<description><![CDATA[<div class="quotebox"><cite>diddelxi wrote:</cite><blockquote><p><a href="https://www.soliforum.com/topic/19482/xyz-printing-da-vinci-open-tag-firmware-released/">https://www.soliforum.com/topic/19482/x … -released/</a></p></blockquote></div><p>hi</p><p>I have a da vinci 1.0, follow the instructions in the pdf to install the xYZware Pro e, but it does not update the firmware, download to try your luck the zip xyzdav_f11_upgrade.zip but it has a password and you cannot test the bin it contains.</p><p>any ideas?<br />thank you</p>]]></description>
			<author><![CDATA[null@example.com (pruebapowersystems)]]></author>
			<pubDate>Tue, 21 Jan 2025 17:56:02 +0000</pubDate>
			<guid>https://www.soliforum.com/post/157182/#p157182</guid>
		</item>
		<item>
			<title><![CDATA[Re: XYZprinting Open Source NFC key calculator online: www.nfckey.xyz]]></title>
			<link>https://www.soliforum.com/post/156033/#p156033</link>
			<description><![CDATA[<p><a href="https://www.soliforum.com/topic/19482/xyz-printing-da-vinci-open-tag-firmware-released/">https://www.soliforum.com/topic/19482/x … -released/</a></p>]]></description>
			<author><![CDATA[null@example.com (diddelxi)]]></author>
			<pubDate>Fri, 18 Oct 2024 20:39:15 +0000</pubDate>
			<guid>https://www.soliforum.com/post/156033/#p156033</guid>
		</item>
		<item>
			<title><![CDATA[Re: XYZprinting Open Source NFC key calculator online: www.nfckey.xyz]]></title>
			<link>https://www.soliforum.com/post/155626/#p155626</link>
			<description><![CDATA[<p>Hi guys,</p><p>I&#039;m going to get straight to the point so as not to annoy any of the pro&#039;s, and going to ask that whomever answers my question please understand that i am a complete and utter noob when it comes to resetting nfc chips... all i know is that i have a Da vinci mini w+, and that i have quite a bit of 3rd party filament with no nfc chip for my printer to read.</p><p>However... i am a quick study, am willing to do the reading and the learning and am fully capable of learning.</p><p>I need, and am requesting some sort of README intruction that will guide me step-by-step in using the hacks you guys have provided in order to reset my printers filament count.</p><p>PLEASE HELP?</p><p>Thank you for understanding and i look forward to learning and growing with this forum.</p><p>I am from Johannesburg, South Africa... so this type of technology is SO SUPER NEW to the country that there really isno other help resource i can dig into to help me with this problem.</p><p>Thank you so much,</p><p>Kind Regards, </p><p>ReazonzImAm</p>]]></description>
			<author><![CDATA[null@example.com (ReazonzImAm)]]></author>
			<pubDate>Thu, 02 May 2024 17:27:29 +0000</pubDate>
			<guid>https://www.soliforum.com/post/155626/#p155626</guid>
		</item>
		<item>
			<title><![CDATA[Re: XYZprinting Open Source NFC key calculator online: www.nfckey.xyz]]></title>
			<link>https://www.soliforum.com/post/155142/#p155142</link>
			<description><![CDATA[<p>Something went wrong. Code generated by <a href="https://nfckey.xyz/">https://nfckey.xyz/</a> for tag 044EE092784D81 (153BD15D) is not appropriate.<br /><span class="postimg"><img src="http://soliforum.com/i/?rHPhJWz.jpg" alt="http://soliforum.com/i/?rHPhJWz.jpg" /></span><br /><span class="postimg"><img src="http://soliforum.com/i/?G9rNAYO.jpg" alt="http://soliforum.com/i/?G9rNAYO.jpg" /></span><br /><span class="postimg"><img src="http://soliforum.com/i/?DeZsrxm.jpg" alt="http://soliforum.com/i/?DeZsrxm.jpg" /></span></p>]]></description>
			<author><![CDATA[null@example.com (img)]]></author>
			<pubDate>Thu, 30 Dec 2021 21:19:13 +0000</pubDate>
			<guid>https://www.soliforum.com/post/155142/#p155142</guid>
		</item>
		<item>
			<title><![CDATA[Re: XYZprinting Open Source NFC key calculator online: www.nfckey.xyz]]></title>
			<link>https://www.soliforum.com/post/154453/#p154453</link>
			<description><![CDATA[<div class="quotebox"><cite>Trypton wrote:</cite><blockquote><p>Hi everyone,</p><p>I am a newbie, so I need a total help on this. I have a DaVinci Jr and my NFC Tag went to 0 filament before actually consuming all the filament. So, I need to reset the filament length. Should I buy a new paper tag? Where can I Fin the UID and what exactly should I do then?</p><p>Sorry for the annoying questions.</p></blockquote></div><p>You can refill the tag you have - but your printer will not accept it as it remembers each tag and the last length it saw.</p><p>You need a new (paper) tag to and read it to get the iD.<br />The ID is the first 7 bytes.<br />All 4 from the first page<br />then the first 3 from the next page.</p><p>The ID will be unique to that tag.</p>]]></description>
			<author><![CDATA[null@example.com (cgrillo)]]></author>
			<pubDate>Tue, 26 Jan 2021 10:21:33 +0000</pubDate>
			<guid>https://www.soliforum.com/post/154453/#p154453</guid>
		</item>
		<item>
			<title><![CDATA[Re: XYZprinting Open Source NFC key calculator online: www.nfckey.xyz]]></title>
			<link>https://www.soliforum.com/post/154452/#p154452</link>
			<description><![CDATA[<p>Hi everyone,</p><p>I am a newbie, so I need a total help on this. I have a DaVinci Jr and my NFC Tag went to 0 filament before actually consuming all the filament. So, I need to reset the filament length. Should I buy a new paper tag? Where can I Fin the UID and what exactly should I do then?</p><p>Sorry for the annoying questions.</p>]]></description>
			<author><![CDATA[null@example.com (Trypton)]]></author>
			<pubDate>Mon, 25 Jan 2021 20:02:52 +0000</pubDate>
			<guid>https://www.soliforum.com/post/154452/#p154452</guid>
		</item>
		<item>
			<title><![CDATA[Re: XYZprinting Open Source NFC key calculator online: www.nfckey.xyz]]></title>
			<link>https://www.soliforum.com/post/154163/#p154163</link>
			<description><![CDATA[<p>is the UID the password or the KEY the password?<br />I still can not get into the tag<br />it only showing [00] to [07]<br />[00] 0406951F<br />[01] 2AB44281<br />[02] 5D480000</p>]]></description>
			<author><![CDATA[null@example.com (thejerk)]]></author>
			<pubDate>Fri, 30 Oct 2020 12:24:49 +0000</pubDate>
			<guid>https://www.soliforum.com/post/154163/#p154163</guid>
		</item>
		<item>
			<title><![CDATA[Re: XYZprinting Open Source NFC key calculator online: www.nfckey.xyz]]></title>
			<link>https://www.soliforum.com/post/154158/#p154158</link>
			<description><![CDATA[<p>is the UID the password or the KEY the password?<br />I still can not get into the tag<br />it only showing [00] to [07]<br />[00] 0406951F<br />[01] 2AB44281<br />[02] 5D480000</p>]]></description>
			<author><![CDATA[null@example.com (thejerk)]]></author>
			<pubDate>Thu, 29 Oct 2020 19:18:38 +0000</pubDate>
			<guid>https://www.soliforum.com/post/154158/#p154158</guid>
		</item>
		<item>
			<title><![CDATA[Re: XYZprinting Open Source NFC key calculator online: www.nfckey.xyz]]></title>
			<link>https://www.soliforum.com/post/154069/#p154069</link>
			<description><![CDATA[<p>hi nilezon！</p><p>I have an XYZ 2.0 DUO printer. Due to the encryption of xyz consumables, I cannot use open source consumables. Can your NFC key software crack the chip of consumables?</p><p>thanks！</p>]]></description>
			<author><![CDATA[null@example.com (janewind)]]></author>
			<pubDate>Mon, 21 Sep 2020 01:35:40 +0000</pubDate>
			<guid>https://www.soliforum.com/post/154069/#p154069</guid>
		</item>
		<item>
			<title><![CDATA[Re: XYZprinting Open Source NFC key calculator online: www.nfckey.xyz]]></title>
			<link>https://www.soliforum.com/post/153874/#p153874</link>
			<description><![CDATA[<div class="quotebox"><cite>nilezon wrote:</cite><blockquote><p>I bought a new printer and will soon be leaving this great community.<br />I&#039;m giving my da Vinci miniMaker Special Edition away to anyone who wants it. It comes soldered with JTAG access port from my hacking sessions.<br />I live in Sweden and I prefer not having to ship it outside Europe, if possible.</p><p>I will of course keep nfckey.xyz online for the years to come.</p></blockquote></div><p>I would love to take care of it! I live in Sweden <img src="https://www.soliforum.com/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[null@example.com (dewode)]]></author>
			<pubDate>Wed, 12 Aug 2020 20:24:01 +0000</pubDate>
			<guid>https://www.soliforum.com/post/153874/#p153874</guid>
		</item>
		<item>
			<title><![CDATA[Re: XYZprinting Open Source NFC key calculator online: www.nfckey.xyz]]></title>
			<link>https://www.soliforum.com/post/153860/#p153860</link>
			<description><![CDATA[<p>I bought a new printer and will soon be leaving this great community.<br />I&#039;m giving my da Vinci miniMaker Special Edition away to anyone who wants it. It comes soldered with JTAG access port from my hacking sessions.<br />I live in Sweden and I prefer not having to ship it outside Europe, if possible.</p><p>I will of course keep nfckey.xyz online for the years to come.</p>]]></description>
			<author><![CDATA[null@example.com (nilezon)]]></author>
			<pubDate>Mon, 10 Aug 2020 17:51:41 +0000</pubDate>
			<guid>https://www.soliforum.com/post/153860/#p153860</guid>
		</item>
		<item>
			<title><![CDATA[Re: XYZprinting Open Source NFC key calculator online: www.nfckey.xyz]]></title>
			<link>https://www.soliforum.com/post/152617/#p152617</link>
			<description><![CDATA[<p>Is there a way to do this on iPhone?</p>]]></description>
			<author><![CDATA[null@example.com (thenerdynurse)]]></author>
			<pubDate>Sun, 23 Feb 2020 02:52:46 +0000</pubDate>
			<guid>https://www.soliforum.com/post/152617/#p152617</guid>
		</item>
		<item>
			<title><![CDATA[Re: XYZprinting Open Source NFC key calculator online: www.nfckey.xyz]]></title>
			<link>https://www.soliforum.com/post/152334/#p152334</link>
			<description><![CDATA[<div class="quotebox"><cite>nilezon wrote:</cite><blockquote><p>Maybe they used a simple key for the firmware encryption as well?</p></blockquote></div><p>No they don&#039;t. I have figured out the private AES 256Bit Key. It&#039;s per &quot;Type Key&quot; and stored packed or scrambled in the firmware.</p><p>So each printer type have same key. (At this point crossflashing is not possible with original encryption firmware).<br />But downgrading is now possible at any time.</p><br /><p>I don&#039;t know if I can post more about this here?!?</p>]]></description>
			<author><![CDATA[null@example.com (modfreakz)]]></author>
			<pubDate>Fri, 10 Jan 2020 17:16:18 +0000</pubDate>
			<guid>https://www.soliforum.com/post/152334/#p152334</guid>
		</item>
		<item>
			<title><![CDATA[Re: XYZprinting Open Source NFC key calculator online: www.nfckey.xyz]]></title>
			<link>https://www.soliforum.com/post/152330/#p152330</link>
			<description><![CDATA[<p>That&#039;s interesting. Almost embarrassing actually :-)<br />I have no idea why they used a &quot;known&quot; key. Maybe they just copy-pasted the code from this paper:<br /><a href="https://www.elixirpublishers.com/articles/1351342086_51%20(2012)%2010700-10703.pdf">https://www.elixirpublishers.com/articl … -10703.pdf</a></p><p>Maybe they used a simple key for the firmware encryption as well?</p><div class="quotebox"><cite>modfreakz wrote:</cite><blockquote><div class="quotebox"><cite>nilezon wrote:</cite><blockquote><p>Good find!<br />I did see a key expansion algorithm but I didn&#039;t bother to &quot;decode&quot; it.<br />Also, I did see some unreachable code in the key/pack assembler, so I figured they used some standard algorithm, but I didn&#039;t understand it was RC5. Instead I tried to simplify the code as much as possible, removing the unused code and using the expanded integers.</p></blockquote></div><br /><br /><p>Hi nilezon,</p><p>Just for the record. ;-) Finally I can confirm that the the PASS and PACK generation use RC5 enryption with the key &quot;915F4619BE41B2516355A50110A9CE91&quot; </p><p>One thing I down understand, why they used that good know Key??<br />If you google for it, you will find a lot hits. </p><br /><br /><p>so in C# I do it like this:</p><div class="codebox"><pre><code>private static byte[] Magic_RC5_Key = { 0x91, 0x5F, 0x46, 0x19, 0xBE, 0x41, 0xB2, 0x51, 0x63, 0x55, 0xA5, 0x01, 0x10, 0xA9, 0xCE, 0x91 };

        static InitNfcKey()
        {
            // initialization with our key
            CryptoRC5.RC5Engine.RC5_Init(Magic_RC5_Key);
        }

        public static Byte[] GetPASS(Byte[] uid)
        {

            // Buffer for rotated UID
            byte[] buffer_In = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };


            //-- Part 1 -------------------------------------//
            // calculate rotation offset
            int rot_offset = ((uid[1] + uid[3] + uid[5]) &amp; 7);

            // rotate the UID
            for (uint i = 0; i &lt; 7; i++)
                buffer_In[(i + rot_offset) &amp; 7] = uid[i];


            //-- Part 2 -------------------------------------//

            // call RC5 Encryption
            byte[] buffer_Out = CryptoRC5.RC5Engine.RC5_Encrypt(buffer_In);


            //-- Part 3 -------------------------------------//
            //Calc PASS
            long PASS = 0; //Key as int
            
            // calculate rotation offset
            rot_offset = ((buffer_Out[0] + buffer_Out[2] + buffer_Out[4] + buffer_Out[6]) &amp; 3); 
            
            for (uint i = 0; i &lt; 4; i++)
                PASS = (buffer_Out[i + rot_offset] &amp; 0xFF) + (PASS &lt;&lt; 8);


            return BitConverter.GetBytes(PASS);
        }

        public static Byte[] GetPack(Byte[] uid)
        {
            // Buffer for rotated UID
            byte[] buffer_In = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
            
            //-- Part 1 -------------------------------------//
            // calculate rotation offset
            int rot_offset = ((uid[2] + uid[5]) &amp; 7);

            // rotate the UID
            for (uint i = 0; i &lt; 7; i++)
                buffer_In[(i + rot_offset) &amp; 7] = uid[i];


            //-- Part 2 -------------------------------------//
            // call RC5 Encryption
            byte[] buffer_Out = CryptoRC5.RC5Engine.RC5_Encrypt(buffer_In);


            //-- Part 3 -------------------------------------//
            //Calc PACK
            long PACK = 0;

            for (uint i = 0; i &lt; 8; i++)
                PACK = ((buffer_Out[i] &amp; 0xFF) * 13) + PACK;


            Byte[] packBytes = BitConverter.GetBytes((PACK &amp; 0xFFFF) ^ 0x5555);

            return (new Byte[2] { packBytes[0], packBytes[1] });
        }</code></pre></div></blockquote></div>]]></description>
			<author><![CDATA[null@example.com (nilezon)]]></author>
			<pubDate>Fri, 10 Jan 2020 09:52:44 +0000</pubDate>
			<guid>https://www.soliforum.com/post/152330/#p152330</guid>
		</item>
		<item>
			<title><![CDATA[Re: XYZprinting Open Source NFC key calculator online: www.nfckey.xyz]]></title>
			<link>https://www.soliforum.com/post/152319/#p152319</link>
			<description><![CDATA[<p>Tags and the Nano. I have tried both software programs and the tags appear to create properly. However,&nbsp; thee tags do nit work with my Nano. The printer will read the temp and quantity (200) that I&nbsp; entered but will not work. Do the tag programs apply to the Nano?</p>]]></description>
			<author><![CDATA[null@example.com (richjewell)]]></author>
			<pubDate>Wed, 08 Jan 2020 13:04:42 +0000</pubDate>
			<guid>https://www.soliforum.com/post/152319/#p152319</guid>
		</item>
	</channel>
</rss>
