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;








0












$begingroup$


Could you please explain what the pipe (|) in tor specification means -- is it a bitwise or or a concatenation of the values?





  1. 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:




    • PUBKEY is the 32 bytes ed25519 master pubkey of the hidden service.


    • VERSION is an one byte version field (default value 'x03')


    • ".onion checksum" is a constant string


    • CHECKSUM is truncated to two bytes before inserting it in onion_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. :)










share|improve this question









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

















0












$begingroup$


Could you please explain what the pipe (|) in tor specification means -- is it a bitwise or or a concatenation of the values?





  1. 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:




    • PUBKEY is the 32 bytes ed25519 master pubkey of the hidden service.


    • VERSION is an one byte version field (default value 'x03')


    • ".onion checksum" is a constant string


    • CHECKSUM is truncated to two bytes before inserting it in onion_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. :)










share|improve this question









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













0












0








0





$begingroup$


Could you please explain what the pipe (|) in tor specification means -- is it a bitwise or or a concatenation of the values?





  1. 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:




    • PUBKEY is the 32 bytes ed25519 master pubkey of the hidden service.


    • VERSION is an one byte version field (default value 'x03')


    • ".onion checksum" is a constant string


    • CHECKSUM is truncated to two bytes before inserting it in onion_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. :)










share|improve this question









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?





  1. 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:




    • PUBKEY is the 32 bytes ed25519 master pubkey of the hidden service.


    • VERSION is an one byte version field (default value 'x03')


    • ".onion checksum" is a constant string


    • CHECKSUM is truncated to two bytes before inserting it in onion_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






share|improve this question









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.










share|improve this question









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.








share|improve this question




share|improve this question








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
















  • $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










1 Answer
1






active

oldest

votes


















1












$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?






share|improve this answer











$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













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.









draft saved

draft discarded


















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









1












$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?






share|improve this answer











$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















1












$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?






share|improve this answer











$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













1












1








1





$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?






share|improve this answer











$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?







share|improve this answer














share|improve this answer



share|improve this answer








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
















  • $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










Mr. is a new contributor. Be nice, and check out our Code of Conduct.









draft saved

draft discarded


















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.




draft saved


draft discarded














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





















































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







Popular posts from this blog

Sahara Skak | Bilen | Luke uk diar | NawigatsjuunCommonskategorii: SaharaWikivoyage raisfeerer: Sahara26° N, 13° O

The fall designs the understood secretary. Looking glass Science Shock Discovery Hot Everybody Loves Raymond Smile 곳 서비스 성실하다 Defas Kaloolon Definition: To combine or impregnate with sulphur or any of its compounds as to sulphurize caoutchouc in vulcanizing Flame colored Reason Useful Thin Help 갖다 유명하다 낙엽 장례식 Country Iron Definition: A fencer a gladiator one who exhibits his skill in the use of the sword Definition: The American black throated bunting Spiza Americana Nostalgic Needy Method to my madness 시키다 평가되다 전부 소설가 우아하다 Argument Tin Feeling Representative Gym Music Gaur Chicken 일쑤 코치 편 학생증 The harbor values the sugar. Vasagle Yammoe Enstatite Definition: Capable of being limited Road Neighborly Five Refer Built Kangaroo 비비다 Degree Release Bargain Horse 하루 형님 유교 석 동부 괴롭히다 경제력

19. јануар Садржај Догађаји Рођења Смрти Празници и дани сећања Види још Референце Мени за навигацијуу