<div dir="ltr"><div>There are no "secretID" and "publicID", there are secret key and public key, which together is your permanent asymmetric cryptography keypair that toxcore uses. This keypair is your Tox identity, if anyone gains access to the secret key, they can claim your Tox identity, so you should never share your secret key. You should study public-key cryptography if you want to understand public and secret keys in more detail.<br></div><div><br><div>Tox Id is pretty much public key and nospam combined, with the third component being checksum bytes, which can be generated given the first two, so it's redundant to store Tox Id along with public key and nospam. It might make sense to do given your use case though.</div><div><br></div><div>>If i create the savedata.tox and i keep my toxID, secretID, publicID and NoSpamID as string and i delete the savedata.tox<br>>am i able to create a savedata.tox with the id`s i have again so i dont need to recreate a new toxID and otherId`s ?<br></div><div><br></div><div>I don't understand what savedata.tox file has to do with anything. I assume it contains the savedata bytes toxcore provides? Are you extracting the Tox Id, public key, secret key and nospam out of it? If so, you shouldn't be doing that, as the format of the savedata bytes is unspecified. You should use these functions to get your public key, secret key and nospam <a href="https://github.com/TokTok/c-toxcore/blob/a096c71db867ac83fc3e01e0fbe98573d20f9286/toxcore/tox.h#L1015-L1035">https://github.com/TokTok/c-toxcore/blob/a096c71db867ac83fc3e01e0fbe98573d20f9286/toxcore/tox.h#L1015-L1035</a>. There is also a function to get your Tox Id, which is called address in toxcore <a href="https://github.com/TokTok/c-toxcore/blob/a096c71db867ac83fc3e01e0fbe98573d20f9286/toxcore/tox.h#L995-L1004">https://github.com/TokTok/c-toxcore/blob/a096c71db867ac83fc3e01e0fbe98573d20f9286/toxcore/tox.h#L995-L1004</a>,<br></div></div><div><br></div><div>If all you want is to keep your Tox identity, all you need to store is your secret key. You can additionally store nospam to keep your previous Tox Id valid for friend requests. Toxcore allows you to create a Tox instance using just your secret key <a href="https://github.com/TokTok/c-toxcore/blob/a096c71db867ac83fc3e01e0fbe98573d20f9286/toxcore/tox.h#L405-L422">https://github.com/TokTok/c-toxcore/blob/a096c71db867ac83fc3e01e0fbe98573d20f9286/toxcore/tox.h#L405-L422</a>, and you would need to set the saved nospam on the created Tox instance <a href="https://github.com/TokTok/c-toxcore/blob/a096c71db867ac83fc3e01e0fbe98573d20f9286/toxcore/tox.h#L1006-L1013">https://github.com/TokTok/c-toxcore/blob/a096c71db867ac83fc3e01e0fbe98573d20f9286/toxcore/tox.h#L1006-L1013</a>.</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Dec 30, 2016 at 1:59 PM, Nocs ... <span dir="ltr"><<a href="mailto:NoCos30@hotmail.com" target="_blank">NoCos30@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div dir="ltr">
<div id="m_1653492366811256926divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif" dir="ltr">
<div>Hello broz, merry christmas and happy holidays i have some problems with my internet lately so i send you from email the question i have.</div>
<div><br>
</div>
<div>If i create the savedata.tox and i keep my toxID, secretID, publicID and NoSpamID as string and i delete the savedata.tox</div>
<div>am i able to create a savedata.tox with the id`s i have again so i dont need to recreate a new toxID and otherId`s ?</div>
<div><br>
</div>
<div>Also is there a link to read about the secretID what it does ? </div>
<div>Is it the one to use on passwords and encrypts the data with it where should i look for that ?</div>
<div><br>
</div>
<div>Thanks for your reply in advance </div>
</div>
</div>

<br>______________________________<wbr>_________________<br>
Support mailing list<br>
Support@lists.tox.chat<br>
<a href="https://lists.tox.chat/listinfo/support" rel="noreferrer" target="_blank">https://lists.tox.chat/<wbr>listinfo/support</a><br>
<br></blockquote></div><br></div></div>