<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[SoliForum - 3D Printing Community — XYZprinting Open Source NFC key calculator online: www.nfckey.xyz]]></title>
	<link rel="self" href="https://www.soliforum.com/feed/atom/topic/16909/" />
	<updated>2025-01-21T17:56:02Z</updated>
	<generator>PunBB</generator>
	<id>https://www.soliforum.com/topic/16909/xyzprinting-open-source-nfc-key-calculator-online-wwwnfckeyxyz/</id>
		<entry>
			<title type="html"><![CDATA[Re: XYZprinting Open Source NFC key calculator online: www.nfckey.xyz]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/157182/#p157182" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[pruebapowersystems]]></name>
				<uri>https://www.soliforum.com/user/27738/</uri>
			</author>
			<updated>2025-01-21T17:56:02Z</updated>
			<id>https://www.soliforum.com/post/157182/#p157182</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: XYZprinting Open Source NFC key calculator online: www.nfckey.xyz]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/156033/#p156033" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[diddelxi]]></name>
				<uri>https://www.soliforum.com/user/27607/</uri>
			</author>
			<updated>2024-10-18T20:39:15Z</updated>
			<id>https://www.soliforum.com/post/156033/#p156033</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: XYZprinting Open Source NFC key calculator online: www.nfckey.xyz]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/155626/#p155626" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[ReazonzImAm]]></name>
				<uri>https://www.soliforum.com/user/27418/</uri>
			</author>
			<updated>2024-05-02T17:27:29Z</updated>
			<id>https://www.soliforum.com/post/155626/#p155626</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: XYZprinting Open Source NFC key calculator online: www.nfckey.xyz]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/155142/#p155142" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[img]]></name>
				<uri>https://www.soliforum.com/user/26481/</uri>
			</author>
			<updated>2021-12-30T21:19:13Z</updated>
			<id>https://www.soliforum.com/post/155142/#p155142</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: XYZprinting Open Source NFC key calculator online: www.nfckey.xyz]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/154453/#p154453" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[cgrillo]]></name>
				<uri>https://www.soliforum.com/user/14612/</uri>
			</author>
			<updated>2021-01-26T10:21:33Z</updated>
			<id>https://www.soliforum.com/post/154453/#p154453</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: XYZprinting Open Source NFC key calculator online: www.nfckey.xyz]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/154452/#p154452" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[Trypton]]></name>
				<uri>https://www.soliforum.com/user/25594/</uri>
			</author>
			<updated>2021-01-25T20:02:52Z</updated>
			<id>https://www.soliforum.com/post/154452/#p154452</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: XYZprinting Open Source NFC key calculator online: www.nfckey.xyz]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/154163/#p154163" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[thejerk]]></name>
				<uri>https://www.soliforum.com/user/25238/</uri>
			</author>
			<updated>2020-10-30T12:24:49Z</updated>
			<id>https://www.soliforum.com/post/154163/#p154163</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: XYZprinting Open Source NFC key calculator online: www.nfckey.xyz]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/154158/#p154158" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[thejerk]]></name>
				<uri>https://www.soliforum.com/user/25238/</uri>
			</author>
			<updated>2020-10-29T19:18:38Z</updated>
			<id>https://www.soliforum.com/post/154158/#p154158</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: XYZprinting Open Source NFC key calculator online: www.nfckey.xyz]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/154069/#p154069" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[janewind]]></name>
				<uri>https://www.soliforum.com/user/24426/</uri>
			</author>
			<updated>2020-09-21T01:35:40Z</updated>
			<id>https://www.soliforum.com/post/154069/#p154069</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: XYZprinting Open Source NFC key calculator online: www.nfckey.xyz]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/153874/#p153874" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[dewode]]></name>
				<uri>https://www.soliforum.com/user/24933/</uri>
			</author>
			<updated>2020-08-12T20:24:01Z</updated>
			<id>https://www.soliforum.com/post/153874/#p153874</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: XYZprinting Open Source NFC key calculator online: www.nfckey.xyz]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/153860/#p153860" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[nilezon]]></name>
				<uri>https://www.soliforum.com/user/17696/</uri>
			</author>
			<updated>2020-08-10T17:51:41Z</updated>
			<id>https://www.soliforum.com/post/153860/#p153860</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: XYZprinting Open Source NFC key calculator online: www.nfckey.xyz]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/152617/#p152617" />
			<content type="html"><![CDATA[<p>Is there a way to do this on iPhone?</p>]]></content>
			<author>
				<name><![CDATA[thenerdynurse]]></name>
				<uri>https://www.soliforum.com/user/23655/</uri>
			</author>
			<updated>2020-02-23T02:52:46Z</updated>
			<id>https://www.soliforum.com/post/152617/#p152617</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: XYZprinting Open Source NFC key calculator online: www.nfckey.xyz]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/152334/#p152334" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[modfreakz]]></name>
				<uri>https://www.soliforum.com/user/17913/</uri>
			</author>
			<updated>2020-01-10T17:16:18Z</updated>
			<id>https://www.soliforum.com/post/152334/#p152334</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: XYZprinting Open Source NFC key calculator online: www.nfckey.xyz]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/152330/#p152330" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[nilezon]]></name>
				<uri>https://www.soliforum.com/user/17696/</uri>
			</author>
			<updated>2020-01-10T09:52:44Z</updated>
			<id>https://www.soliforum.com/post/152330/#p152330</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: XYZprinting Open Source NFC key calculator online: www.nfckey.xyz]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/152319/#p152319" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[richjewell]]></name>
				<uri>https://www.soliforum.com/user/23291/</uri>
			</author>
			<updated>2020-01-08T13:04:42Z</updated>
			<id>https://www.soliforum.com/post/152319/#p152319</id>
		</entry>
</feed>
