Onion address encodingEncoding scalar values to points on Ed25519Difference between mix networks and onion routingEncoding Public Keys
Where are all the non-aquatic mouthbrooders?
How to evaluate the performance of open source solver?
Category-theoretic treatment of diffs, patches and merging?
Why is a semiprime used as the modulus in RSA?
How many Jimmys can fit?
How do resistors generate different heat if we make the current fixed and changed the voltage and resistance? Notice the flow of charge is constant
Sense of humor in your sci-fi stories
Is this car delivery via Ebay Motors on Craigslist a scam?
What does "spinning upon the shoals" mean?
Tikz, arrow formatting
A ring of generalized power series
Why did Robert F. Kennedy loathe Lyndon B. Johnson?
Other Space Shuttle O-ring failures
Why won't the U.S. sign a peace treaty with North Korea?
Why do airports remove/realign runways?
The Apéry's constant and the Airy function
Four ships at the ocean with the same distance
Is it okay to use open source code to do an interview task?
How to use Adostop Eco stop bath?
Moving millions of files to a different directory with specfic name patterns
How do I explain that I don't want to maintain old projects?
Intern not wearing safety equipment; how could I have handled this differently?
Is there a formal/better word than "skyrocket" for the given context?
How do I use my adapted PS2 keyboard & mouse on a windows 10 computer?
Onion address encoding
Encoding scalar values to points on Ed25519Difference between mix networks and onion routingEncoding Public Keys
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
$begingroup$
Could you please explain what the pipe (|) in tor specification means -- is it a bitwise or or a concatenation of the values?
Encoding onion addresses [ONIONADDRESS]
The onion address of a hidden service includes its identity public
key, a version field and a basic checksum. All this information is
then base32 encoded as shown below:
onion_address = base32(PUBKEY | CHECKSUM | VERSION) + ".onion"
CHECKSUM = H(".onion checksum" | PUBKEY | VERSION)[:2]
where:
PUBKEYis the 32 bytes ed25519 master pubkey of the hidden service.
VERSIONis an one byte version field (default value'x03')
".onion checksum"is a constant string
CHECKSUMis truncated to two bytes before inserting it inonion_address
From the context, I understand it is a concatenation-- is that so?
If one has a working short PythonNodeRuby snippet for that, it would be lovely. :)
ed25519 onion-routing
New contributor
Mr. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
$endgroup$
add a comment |
$begingroup$
Could you please explain what the pipe (|) in tor specification means -- is it a bitwise or or a concatenation of the values?
Encoding onion addresses [ONIONADDRESS]
The onion address of a hidden service includes its identity public
key, a version field and a basic checksum. All this information is
then base32 encoded as shown below:
onion_address = base32(PUBKEY | CHECKSUM | VERSION) + ".onion"
CHECKSUM = H(".onion checksum" | PUBKEY | VERSION)[:2]
where:
PUBKEYis the 32 bytes ed25519 master pubkey of the hidden service.
VERSIONis an one byte version field (default value'x03')
".onion checksum"is a constant string
CHECKSUMis truncated to two bytes before inserting it inonion_address
From the context, I understand it is a concatenation-- is that so?
If one has a working short PythonNodeRuby snippet for that, it would be lovely. :)
ed25519 onion-routing
New contributor
Mr. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
$endgroup$
$begingroup$
I'm voting to close this question as off-topic because it is not related to cryptography, but to the meaning of symbols in the technical specifications for a cryptographic tool.
$endgroup$
– forest
20 mins ago
add a comment |
$begingroup$
Could you please explain what the pipe (|) in tor specification means -- is it a bitwise or or a concatenation of the values?
Encoding onion addresses [ONIONADDRESS]
The onion address of a hidden service includes its identity public
key, a version field and a basic checksum. All this information is
then base32 encoded as shown below:
onion_address = base32(PUBKEY | CHECKSUM | VERSION) + ".onion"
CHECKSUM = H(".onion checksum" | PUBKEY | VERSION)[:2]
where:
PUBKEYis the 32 bytes ed25519 master pubkey of the hidden service.
VERSIONis an one byte version field (default value'x03')
".onion checksum"is a constant string
CHECKSUMis truncated to two bytes before inserting it inonion_address
From the context, I understand it is a concatenation-- is that so?
If one has a working short PythonNodeRuby snippet for that, it would be lovely. :)
ed25519 onion-routing
New contributor
Mr. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
$endgroup$
Could you please explain what the pipe (|) in tor specification means -- is it a bitwise or or a concatenation of the values?
Encoding onion addresses [ONIONADDRESS]
The onion address of a hidden service includes its identity public
key, a version field and a basic checksum. All this information is
then base32 encoded as shown below:
onion_address = base32(PUBKEY | CHECKSUM | VERSION) + ".onion"
CHECKSUM = H(".onion checksum" | PUBKEY | VERSION)[:2]
where:
PUBKEYis the 32 bytes ed25519 master pubkey of the hidden service.
VERSIONis an one byte version field (default value'x03')
".onion checksum"is a constant string
CHECKSUMis truncated to two bytes before inserting it inonion_address
From the context, I understand it is a concatenation-- is that so?
If one has a working short PythonNodeRuby snippet for that, it would be lovely. :)
ed25519 onion-routing
ed25519 onion-routing
New contributor
Mr. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Mr. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
edited 9 hours ago
Patriot
5224 silver badges21 bronze badges
5224 silver badges21 bronze badges
New contributor
Mr. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked 10 hours ago
Mr.Mr.
1114 bronze badges
1114 bronze badges
New contributor
Mr. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Mr. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
$begingroup$
I'm voting to close this question as off-topic because it is not related to cryptography, but to the meaning of symbols in the technical specifications for a cryptographic tool.
$endgroup$
– forest
20 mins ago
add a comment |
$begingroup$
I'm voting to close this question as off-topic because it is not related to cryptography, but to the meaning of symbols in the technical specifications for a cryptographic tool.
$endgroup$
– forest
20 mins ago
$begingroup$
I'm voting to close this question as off-topic because it is not related to cryptography, but to the meaning of symbols in the technical specifications for a cryptographic tool.
$endgroup$
– forest
20 mins ago
$begingroup$
I'm voting to close this question as off-topic because it is not related to cryptography, but to the meaning of symbols in the technical specifications for a cryptographic tool.
$endgroup$
– forest
20 mins ago
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
As you suspect, it's a concatenation symbol. Some times it's $|$ and others $||$. Or $+$. Python and PL/SQL examples to confirm. Or a cryptographic example: bottom of page 5 of FIPS PUB 202: SHA-3 Standard: Permutation-Based Hash and
Extendable-Output Functions.
If it were bitwise OR, you'd make a real mess of the public key's use with PUBKEY | CHECKSUM | VERSION.
It can get weird though if you dig deeper as: Is there a common symbol for concatenating two (finite) sequences?
$endgroup$
$begingroup$
thank you. have you got any exampletutorial on how to generate onion address v3 (hostname) on linux command line?
$endgroup$
– Mr.
9 hours ago
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "281"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Mr. is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fcrypto.stackexchange.com%2fquestions%2f71781%2fonion-address-encoding%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
As you suspect, it's a concatenation symbol. Some times it's $|$ and others $||$. Or $+$. Python and PL/SQL examples to confirm. Or a cryptographic example: bottom of page 5 of FIPS PUB 202: SHA-3 Standard: Permutation-Based Hash and
Extendable-Output Functions.
If it were bitwise OR, you'd make a real mess of the public key's use with PUBKEY | CHECKSUM | VERSION.
It can get weird though if you dig deeper as: Is there a common symbol for concatenating two (finite) sequences?
$endgroup$
$begingroup$
thank you. have you got any exampletutorial on how to generate onion address v3 (hostname) on linux command line?
$endgroup$
– Mr.
9 hours ago
add a comment |
$begingroup$
As you suspect, it's a concatenation symbol. Some times it's $|$ and others $||$. Or $+$. Python and PL/SQL examples to confirm. Or a cryptographic example: bottom of page 5 of FIPS PUB 202: SHA-3 Standard: Permutation-Based Hash and
Extendable-Output Functions.
If it were bitwise OR, you'd make a real mess of the public key's use with PUBKEY | CHECKSUM | VERSION.
It can get weird though if you dig deeper as: Is there a common symbol for concatenating two (finite) sequences?
$endgroup$
$begingroup$
thank you. have you got any exampletutorial on how to generate onion address v3 (hostname) on linux command line?
$endgroup$
– Mr.
9 hours ago
add a comment |
$begingroup$
As you suspect, it's a concatenation symbol. Some times it's $|$ and others $||$. Or $+$. Python and PL/SQL examples to confirm. Or a cryptographic example: bottom of page 5 of FIPS PUB 202: SHA-3 Standard: Permutation-Based Hash and
Extendable-Output Functions.
If it were bitwise OR, you'd make a real mess of the public key's use with PUBKEY | CHECKSUM | VERSION.
It can get weird though if you dig deeper as: Is there a common symbol for concatenating two (finite) sequences?
$endgroup$
As you suspect, it's a concatenation symbol. Some times it's $|$ and others $||$. Or $+$. Python and PL/SQL examples to confirm. Or a cryptographic example: bottom of page 5 of FIPS PUB 202: SHA-3 Standard: Permutation-Based Hash and
Extendable-Output Functions.
If it were bitwise OR, you'd make a real mess of the public key's use with PUBKEY | CHECKSUM | VERSION.
It can get weird though if you dig deeper as: Is there a common symbol for concatenating two (finite) sequences?
edited 9 hours ago
answered 9 hours ago
Paul UszakPaul Uszak
8,0711 gold badge17 silver badges38 bronze badges
8,0711 gold badge17 silver badges38 bronze badges
$begingroup$
thank you. have you got any exampletutorial on how to generate onion address v3 (hostname) on linux command line?
$endgroup$
– Mr.
9 hours ago
add a comment |
$begingroup$
thank you. have you got any exampletutorial on how to generate onion address v3 (hostname) on linux command line?
$endgroup$
– Mr.
9 hours ago
$begingroup$
thank you. have you got any exampletutorial on how to generate onion address v3 (hostname) on linux command line?
$endgroup$
– Mr.
9 hours ago
$begingroup$
thank you. have you got any exampletutorial on how to generate onion address v3 (hostname) on linux command line?
$endgroup$
– Mr.
9 hours ago
add a comment |
Mr. is a new contributor. Be nice, and check out our Code of Conduct.
Mr. is a new contributor. Be nice, and check out our Code of Conduct.
Mr. is a new contributor. Be nice, and check out our Code of Conduct.
Mr. is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Cryptography Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fcrypto.stackexchange.com%2fquestions%2f71781%2fonion-address-encoding%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
$begingroup$
I'm voting to close this question as off-topic because it is not related to cryptography, but to the meaning of symbols in the technical specifications for a cryptographic tool.
$endgroup$
– forest
20 mins ago