Editing Talk:Online Connections

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 674: Line 674:
So a little bit about the passphrase and ID... the passphrase is 128 bytes encrypted.
So a little bit about the passphrase and ID... the passphrase is 128 bytes encrypted.


<syntaxhighlight lang="C">
<pre>SceNpCommunicationId communication_id = {
SceNpCommunicationId communication_id = {
{'N','P','X','S','0','0','0','0','5'},
{'N','P','X','S','0','0','0','0','5'},
'\0',
'\0',
Line 712: Line 711:
{
{
return &communication_passphrase;
return &communication_passphrase;
}
}</pre>
</syntaxhighlight>


I shouldn't really have to explain this but just in case...
I shouldn't really have to explain this but just in case...
Line 719: Line 717:
===ID===
===ID===


<syntaxhighlight lang="C">
<pre>static const SceNpCommunicationId s_communication_id = {
static const SceNpCommunicationId s_communication_id = {
{'N','P','X','S','0','0','0','2','7'},
{'N','P','X','S','0','0','0','2','7'},
'\0',
'\0',
0,
0,
0
0
};
};</pre>
</syntaxhighlight>


This is the format in which the NP ID will be displayed (don't know much about it).
This is the format in which the NP ID will be displayed (don't know much about it).
Line 732: Line 728:
The request for the ID is very simple:
The request for the ID is very simple:


<syntaxhighlight lang="C">
<pre>const SceNpCommunicationId* NpConf::npCommId(int i)
const SceNpCommunicationId* NpConf::npCommId(int i)
{
{
(void)i;
(void)i;
return(&s_communication_id);
return(&s_communication_id);
}
}</pre>
</syntaxhighlight>


===Passphrase===
===Passphrase===
Line 744: Line 738:
As we know it's 128 bytes encrypted. Displayed like so...
As we know it's 128 bytes encrypted. Displayed like so...


<syntaxhighlight lang="C">
<pre>static const SceNpCommunicationPassphrase s_communication_passphrase = {
static const SceNpCommunicationPassphrase s_communication_passphrase = {
{
{
0xaa,0xaa,0xaa,0xaa,0xaa,0xaa,0xaa,0xaa,
0xaa,0xaa,0xaa,0xaa,0xaa,0xaa,0xaa,0xaa,
Line 765: Line 758:
}
}


};
};</pre>
</syntaxhighlight>


The auth is as simple as the IDs.
The auth is as simple as the IDs.


<syntaxhighlight lang="C">
<pre>const SceNpCommunicationPassphrase* NpConf::npCommPassphrase(int i)
const SceNpCommunicationPassphrase* NpConf::npCommPassphrase(int i)
{
{
(void)i;
(void)i;
return(&s_communication_passphrase);
return(&s_communication_passphrase);
}
}</pre>
</syntaxhighlight>




Also, this a encrypted passphrase (maybe) from 4.00 it's taken from the same format in the code above but there's a lot more characters...
Also, this a encrypted passphrase (maybe) from 4.00 it's taken from the same format in the code above but there's a lot more characters...


<small><code>8dade4164f15e26e323668124aa89083b44414c66db2bddcc0ef67f6ca4c1eedc364db4800b62d63e5ecb33e2a1b4db4edc1ee3802a042f06d600eb5cb40236cefcda6136c5a26dd624a1a2fc197b25a4a3b06660f0d3f44bf538971089e44a91169f062c6743dd701f90f256ab5ab539dc943e057303559f66057b39e49b661</code></small>
<pre>8dade4164f15e26e323668124aa89083b44414c66db2bddcc0ef67f6ca4c1eedc364db4800b62d63e5ecb33e2a1b4db4edc1ee3802a042f06d600eb5cb40236cefcda6136c5a26dd624a1a2fc197b25a4a3b06660f0d3f44bf538971089e44a91169f062c6743dd701f90f256ab5ab539dc943e057303559f66057b39e49b661</pre>


===Sig===
===Sig===
Line 789: Line 779:
Not sure how it's displayed but it's auth is simple.
Not sure how it's displayed but it's auth is simple.


<syntaxhighlight lang="C">
<pre>const SceNpCommunicationSignature* NpConf::npCommSig(int i)
const SceNpCommunicationSignature* NpConf::npCommSig(int i)
{
{
(void)i;
(void)i;
return 0;
return 0;
}
}</pre>
</syntaxhighlight>


=== gen_keying_material.py ===
=== gen_keying_material.py ===
Please note that all contributions to PS3 Developer wiki are considered to be released under the GNU Free Documentation License 1.2 (see PS3 Developer wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:

Cancel Editing help (opens in new window)

Templates used on this page: