Bitcoin Forum
June 14, 2024, 06:22:49 AM *
News: Voting for pizza day contest
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 2 3 4 5 [6] 7 »
101  Local / Português (Portuguese) / Re: Satsconf: evento 100% Bitcoin em São Paulo on: November 08, 2023, 01:07:16 PM
Só pra deixar um feedback aqui

O evento foi super legal! Tinham muitos palestrantes gringos, devs do Bitcoin Core, então todas as discussões foram realmente alto nível.

Também é bem legal a experiência de só pagar coisas em Bitcoin, acho que eu algo que todos nós deveriam experimentar.

Acho que vocês deveriam se programar para os próximos anos Smiley

Que legal esse feedback!
Espero que incentive mais pessoas a ir ano que vem!

Quando meu amigo me contou do evento, fui comprar mas vi que era em uma data que não estaria em Sampa!
Quem sabe ano que vem!
102  Local / Português (Portuguese) / Re: Sam Bankman-Fried (SBF), da FTX, é considerado culpado por Júri on: November 08, 2023, 12:55:05 PM
O Balaji publicou um texto fantástico sobre o caso!

Mostrando que a internet (e o crypto twitter) foi a responsável pela investigação, coleta de dados / provas que desencadeou todo o processo criminal contra o SBF.
Nenhum jornalista de mídia tradicional, procurador, político ou agente da polícia percebeu os crimes que estavam sendo cometidos, mas a internet sim!

https://balajis.com/p/crypto-twitter-found-sbfs-fraud


103  Local / Português (Portuguese) / Re: Santander afirma em relatório que BTC está impulsionando economia de El Salvador on: October 30, 2023, 03:07:26 PM
Nesta semana Gabor Gurbacs que é consultor da VanEck afirmou que El Salvador pode se tornar a 'Singapura das Américas' nos proximos anos e até eu já estou acreditando.

Essa reportagem é bem legal, mostra um relatório do JP Morgan comentando sobre El Salvador ter recuperado o grau de investimento CCC+ que ainda é uma nota horrível, mas deve melhorar muito no próximo ano com o BTC ajudando.

Amigo do Bitcoin, El Salvador pode se tornar 'Singapura das Américas', diz consultor da VanEck

Acabei de ver essa notícia!

Interessante que Próspera em Honduras tem como objetivo se tornar a Singapura das Américas!
Próspera é uma cidade privada localizada dentro de uma Zona Econômica Especial na ilha de Roatán em Honduras!

E falando em Ancapistões, está rolando agora a Network State Conference em Amsterdão!
https://www.youtube.com/watch?v=x-GfuIFkB_Y

104  Local / Português (Portuguese) / Re: Hal Finney falando sobre DCA de Bitcoin (em 2011) on: October 30, 2023, 12:11:07 PM

O fato é  que essa "expectativa " é altamente emocional,  e em geral está errada. Simplesmente porque ninguém pode prever o futuro.

Se houver um consenso de que o preço do bitcoin vai subir , ele simplesmente sobe imediatamente.  Não faz sentido existir uma "expectativa " de que ele vai subir. Você pode torcer, ver algumas indicações que você está apostando, mas não passa disso. Você não sabe de algo que ninguém sabe.

Quanto a sua pergunta, o mais seguro é aplicar aos poucos, fazendo dca ao longo de uns meses. Isso reduz o risco (o que pode reduzir o prêmio também, assim como suas perdas)


Concordo com o fato de que "expectativa" é altamente emocional.
Porém, partindo da premissa de que você acredita que ele vai subir no longo prazo, e de que se tem um capital na mão no momento; então faz sentido já aportar tudo de uma vez.


Isso é verdade. Por exemplo, o motivo do Michael Saylor viver comprando bitcoins independente do momento do mercado e do valor é que ele tem a tese que o preço do bitcoin no futuro SEMPRE vai ser maior do que o preço de hoje.

Preço Futuro > Preço Hoje

Então para que ficar tentando prever o mercado se ele pode só encher o carrinho? Se eu tenho a tese de que o BTC vai bater os $1m no futuro, só não sabendo quando, não tentaria comprar o máximo possível sempre que eu pudesse? Voltando no tempo para a época inicial do BTC e sabendo dos preços de hoje, você ficaria esperando o BTC cair de $100 para $30? Ou só compraria tudo pensando nos $60k que ele bateu? É isso.


Perfeito TryNinja!
Resumiu bem o ponto!

105  Local / Português (Portuguese) / Re: Hal Finney falando sobre DCA de Bitcoin (em 2011) on: October 28, 2023, 09:05:03 PM
O pessoal da Swan tem uma tese que você não deveria fazer DCA, e sim aportar tudo que tiver no momento, independente do patamar de preços.

Isso aumenta o risco exponencialmente. É literalmente um trade.

Isso se chama market timing. Estaticamente, voce vai errar fazendo isso, a não ser que voce seja uma pessoa abençoada acima da média da população.

https://ip-capitalpartners.com/market-timing-funciona/
Quote
Uma pesquisa feita pela Charles Schwab projetou cinco estratégias de investimento por um mesmo período de tempo. O resultado mostra que o custo de ficar esperando o momento ideal para investir costuma ser bem maior que o benefício de acertar na mosca.



20 anos depois:


*Os cinco investidores recebiam US$ 2.000 por ano em primeiro de janeiro. A tabela considera o investimento do dinheiro no S&P 500 de janeiro de 2001 a dezembro de 2020.



Estudo interessante!

Concordo que DCA é ótimo pela simplicidade e por deixar o fator emocional de lado! E é justamente esse que mais afeta o investidor!

Mas pensando no fato de uma quantia de $$$ cair no colo hoje: Você compraria tudo hoje ou ficaria usando ele para comprar ao longo dos próximos meses?
Se a expectativa é que que ele suba, então não faz sentido ficar parcelando as compras. Melhor já aportar tudo agora e garantir o ativo caso ele tenha uma de suas subidas repentinas no período do parcelamento.

Ha um tempo atrás eu fiz uma análise de uma pessoa que comprava Bitcoin quando o Fear & Greed Index baixava de um certo valor e vendia quando passava de outro.
E comparei com uma que comprou no incio do período e segurou até o final.
Fato é que não dá pra tirar muitas conclusões pois são tantas variáveis para analisar!
106  Local / Português (Portuguese) / Re: Tópico polemico sobre a Lightning Network on: October 26, 2023, 01:53:19 PM
Assim como Bitcoin não foi a primeira criptomoeda (outras antes não conseguiram reunir todas as características de ser descentralizada, permissionless, transparente, etc), LN pode não ser a solução definitiva para que o Bitcoin seja usado como moeda.

Mas não deixa de ser uma tentativa!

Fiz umas contas rápidas:
Se toda a população mundial quiser usar a LN e fizer apenas duas transações na rede principal (supondo uma de abertura e uma de fechamento), apenas 0,67% da população conseguiria.

Para que os 7,8 bilhões pudessem fazer essas duas transações, o bloco do Bitcoin teria que ter 148mb para a LN funcionar.

Sei que existem propostas para endereçar essa limitação como a fatoração de canais, mas aí já entra em detalhes que não conheço!

My 2 Satoshis  Roll Eyes

107  Bitcoin / Bitcoin Discussion / Re: The Man Who Stole Over 51,680 Bitcoin on: October 24, 2023, 06:05:50 PM

... After they've gotten all they wanted, they left and came back, this time around with a search team, a search warrant and sniffing dogs.


It caught my attention that there are dogs trained to sniff out computer hardware!

BTW, if someone wants to watch the vid:
https://www.youtube.com/watch?v=3Nq3ye-QCyM

108  Local / Português (Portuguese) / Re: Hal Finney falando sobre DCA de Bitcoin (em 2011) on: October 24, 2023, 02:49:36 PM
DCA não é uma prática nova. Mas sugerida para aplicar ao Bitcoin pode ser!
O que me chama a atenção é que em 2011 ele já estava comprado na tese de reserva de valor.
E pensar que 1 ano antes o pessoal estava fazendo experimentos sociais (pizza day) para entender se o Bitcoin teria algum valor fora da rede.

O pessoal da Swan tem uma tese que você não deveria fazer DCA, e sim aportar tudo que tiver no momento, independente do patamar de preços.
A lógica é que em poucas situações o Bitcoin explode de preço, então se você estiver "dividindo" as compras ao invés de colocar tudo de uma vez, corre-se o risco de perder esses momentos e o preço nunca mais voltar.
Tem todo um debate com relação a ter o dinheiro parado, ou reservar uma quantidade X todo mês e ir investindo.

Alguém já ouviu eles falarem sobre isso? Concordam?
109  Local / Português (Portuguese) / Re: Argentina acaba de imprimir o equivalente a 449 containers de cédulas de Peso on: October 23, 2023, 12:23:40 PM
A briga entre intervencionismo e liberalismo acaba sendo desbalanceada!
Existem muitos interesses investidos.
Ninguém quer largar a mamadeira e ninguém quer ser o responsável pelo desmame.

Enquanto isso, governos intervencionistas continuarão a imprimir dinheiro para poder pagar pelos altos custos de se manter um estado gigante, que quanto mais cresce, mais precisa de dinheiro, inclusive na forma de compra de apoio.
A notícia do post é a comprovação mais anedótica disto!

E impressão de dinheiro é a forma mais perversa e cruel de taxar os mais pobres! Quem quiser saber mais, só pesquisar efeito Cantillon.

E é interessante a cabeça de uma pessoa que vê esse modelo intervencionista a décadas destruindo o país e pensa:

"Estamos com mais de 100% de inflação e mais de 40% dos argentinos vivem abaixo da linha da pobreza (há 6 anos eram 18%). Por que não votar exatamente no minstro da economia?".

Por outro lado exite o risco de um libertário no executivo não conseguir passar nenhuma de suas reformas e ser alvo fácil dos abutres: "Tá vendo, esse negócio de libertarianismo não funciona."

110  Local / Português (Portuguese) / Re: Satsconf: evento 100% Bitcoin em São Paulo on: October 19, 2023, 09:28:55 PM
Queria muito ir, mas não estarei em São Paulo!

To tentando migrar dos presenciais de web3 pros de Bitcoin, mas eventos desse segundo não são tão frequentes!

Bom evento pra quem for!  Wink
111  Local / Português (Portuguese) / Re: Como você lidaria com um novo estilo visual no bitcointalk? on: October 19, 2023, 09:21:38 PM

Ainda existem uns IRCs sobre Bitcoin, caso vocês tenham interesse: https://en.bitcoin.it/wiki/IRC_channels

Abri agora e tem uns nomes como Adam Back, Luke Dashjr.. mas não sei se são eles ou apenas golpistas..

Espero que você matem a saudade dos anos 90 Cheesy


E pelo visto existem vários!
Valeu pela lista!

Mas bem agora que resolvi interagir nesse fórum...
Já tem muita gente inteligente! Impossível acompanhar e absorver todo o conteúdo produzido!

Quem sabe uma hora eu entre em algum servidor de mIRC...


O mIRC... era isso @Prancheiro. Já não me lembrava do nome. Velhos tempos...  Roll Eyes


Isso!
Como o darkv0rt3x disse: IRC era o protocolo e usáva-se um app (cliente) para conectar no servidor.

Me lembra um pouco Nostr e seus clientes...

112  Local / Português (Portuguese) / Re: Como você lidaria com um novo estilo visual no bitcointalk? on: October 19, 2023, 02:22:17 PM

IRC atordoante em que sentido? Eu sempre usei e ainda hoje uso, diariamente. É uma das minhas melhores fontes de informação. Pelo menos a nível de confiança. É que tu fazes uma pesquisasobre o cena qualquer mais técnica no Google e aparecem-te centenas de respostas e maior parte delas ou desactualizadas e que não funcionam ou simplesmente erradas!
No IRC consegues falar com pessoas reais e em tempo real. Aliás, para mim o IRC foi onde encontrei mais informação e mais ajuda durante a minha licenciatura! E conheci algumas pessoas com quem ainda hoje falo. E estou a falar de uns 20 anos depois. Gente que conheci lá há 20 anos atrás que ainda hoje falo com elas!


Isso foi em 97. Pelo menos pra mim, não existiam muitas opções de comunicação (redes sociais) até então. Os clássicos eram os bate-papos da UOL, os foruns.
Então quando comecei a usar o mIRC achei meio atordoante a quantidade de informação, dados, mensagens que eram geradas a cada momento!
Mas fui acostumando e usei por muito tempo. Tanto que na jornada eu mesmo criei um script com as funcionalidades que eu mais usava!

Já tinha ouvido algumas pessoas falando que mIRC ainda existia! Mas nunca tinha ouvido falar de relatos de alguém que ainda usava! E diariamente!
Que interessante darkv0rt3x!

Qual servidor você frenquenta?
113  Local / Português (Portuguese) / Re: Como você lidaria com um novo estilo visual no bitcointalk? on: October 19, 2023, 09:36:41 AM

Quanto você clica pra fazer um reply ao post aparece essa página aqui:



É só ir rolando a página pra baixo pra ir vendo os posts em ordem decrescente e ir clicando em insert quote que ele vai inserindo na postagem que você está editando.  Cheesy


Valeu Loganota!

Eu ficava abrindo aba nova pra cada quote que queria fazer, copiava e colova na aba onde estava o reply que estava escrevendo!

Já vou usar a técnica nessa resposta!


Cara, eu sinceramente já achei bem "paia" aquela versão de testes que estavam/estão ensaiando já faz um tempão.
Eu sou véio também, da época de ICQ, MIRc e por aí vai... então eu prefiro que fique do jeito que está, pois também adoro esse estilo visual.

Seria muito bacana se o SMF tivesse uma responsividade minimamente funcional para dispositivos móveis, ou então algum plugin (desde que confiável) que nos permita escrever, selecionar textos, dar quote, inserir emoticons e outros sem sofrer com o zoom ou posicionamento do cursor. Mas... desde que não estrague aquilo que já funciona muito bem no desktop, senão... deixa quieto também.

Compartilho da mesma visão!
Usei muito bate papo da UOL, fóruns raízes tipo esse de tudo quanto é coisa.
mIRC eu achava muito atordoante, e mesmo assim usei por muitos anos (e até criei script próprio com as funcionalidades que eu usava na época).

Já tem tanta UX moderna e cheia de funcionalidade em várias redes sociais novas que as vezes uma coisa mais limpa acaba agradando!

Como diria nosso amigo renascentista Leo:
“A simplicidade é o último grau da sofisticação”

 
 
114  Local / Português (Portuguese) / Re: Usuário do bitcointalk preso com US$ 3 bilhões em BTC on: October 18, 2023, 10:18:49 PM

Como o cara guarda 40k btc em uma lata de pipoca?

Pelo que entendi, essa que tava na lata de pipoca tinha menos BTC.
Os 40k estavam em uma carteira que estava em um cofre enterrado embaixo de concreto.
E a parte que me surpreendeu: Existem caninos treinados para cheirar computer hardware!

Acabei de ver aqui e fiquei impressionado com:

1 - A policia tem um hardware que conectado ao computador, simula um mouse sempre em movimento para impedir o auto-bloqueio do dispositivo do acusado.

2 - Existem caes farejadores treinados para encontrar computadores e dispositivos similares.

3 - Se o hacker roubou um site de drogas em 2009, mesmo ninguem dando queixa o governo estava procurando.

4 - O cara roubou 50 mil bitcoins e depois usou uma exchange.

5 - O bandido que roubou o Jimmy nunca foi encontrado.

6 - O mais assustador: Ele guardava tudo em private key? Nao ficou claro isso pra mim, porque a policia achava coisas e lá tinha btc?

1 - Isso achei esquisito. No caso do Ross, quando ele deu mole, um agente veio e segurou ele e o outro pegou o notebook aberto.
Imaginei que quando o Jimmy se levantou pra ir abrir a porta da sacada, o agente poderia simplesmente ter pego o note dele e anunciado o mandato!

2 - Foi exatamente o que comentei ali em cima! Haha

4 - Também não entendi porque ele mandou 800 dólares para um exchange com KYC.

115  Local / Português (Portuguese) / Re: O governo dos EUA detém mais de US$ 5.500.000.000 em Bitcoin (BTC) on: October 18, 2023, 06:47:34 PM
Hoje o sabotag3x criou esse tópico Usuário do bitcointalk preso com US$ 3 bilhões em BTC onde consta a história por trás da apreensão dos 51,326 BTC de James Zhong, dá uma olhada lá pois é uma história que vale a pena conhecer. A algumas semanas lembro que o governo dos EUA movimento uma carteira com milhares de BTC e surgiu o rumor de que eles iriam liquidar este montante mas acho que a história morreu por ai mesmo e a liquidação esperada não ocorreu.

Eu vi esse tópico!
E assim como parte do pessoal fiquei meio confuso com a história!
Vou ver o vídeo que tem lá!

Li o American Kingpin ha uns 4 anos já e lembro de um roubo de BTC mas depois que eles estavam sob posse do governo dos EUA.
Não lembro de no livro citar algum roubo direto da Silk Road!

Preciso conectar os pontos! Haha

E vocês acham que os governos que apreenderam já vários BTCs não vendem na sequência por acharem que o BTC vai se valorizar?

Eu não sei o que a Lei determina para o leilão dos itens apreendidos. Sei que sempre tem leilões de eletrônicos. Mas seila, se apreendeu armas, animais, drogas, dinheiro... não sei qual a definição para decidir quando colocar em leilão os itens que devem ir.

Acho que igual temos as histórias os paises que mineram, temos as histórias dos paises que apreendem e fazem hold dos itens buscando uma valorização futura para liquidar.

Interessante que quando apreende-se drogas, são destruídas, afinal não dá pra repassar um bem ilegal fazendo um leilão.
Com Bitcoins, já fazem leilão, o que indica o oposto.
116  Local / Português (Portuguese) / O governo dos EUA detém mais de US$ 5.500.000.000 em Bitcoin (BTC) on: October 18, 2023, 05:25:49 PM
Sempre tive curiosidade de saber quantos BTCs os governos poderiam ter.

Um grupo de analistas da 21.co Research fez uma estimativa do montante controlado pelo governo dos EUA com base em informações publicamente disponíveis: 194.188 BTCs.

São rastreadas as carteiras associadas às três maiores apreensões de BTC do governo desde 2020.

Nov 2020 Silk Road Seizure - 69,369 BTC
Jan 2022 Bitfinex Hack Seizure - 94,643 BTC
Mar 2022 James Zhong Seizure - 51,326 BTC

Link para matéria: https://dailyhodl.com/2023/10/18/us-government-holds-over-5500000000-in-bitcoin-btc-according-to-on-chain-data/

Link para o painel que monitora as carteiras: https://dune.com/21co/us-gov-bitcoin-holdings

117  Local / Português (Portuguese) / Re: [0,001 BTC] Qual será o preço do Bitcoin no final de 2023? on: October 04, 2023, 09:35:31 PM
Pessoal, não posso palpitar no valor pois criei minha conta depois do post!

Mas vou palpitar na coleta (e publicidade das entradas) Hehe
O fato de os palpites serem públicos dá a vantagem para quem palpitar por último, pois a pessoa pode abocanhar um range maior!

Esse mecanismo é aplicado também a espectro político em eleições! Hehe Mas aí é debate para outro post!

Mete um número ai. Tongue

Ainda que não possa participar do sorteio e arriscar ganhar o premio, sempre sou curioso para ver o palpite de cada um, rsrs. Qual seria o seu?

Dado que as apostas estão postas, agora é possível utilizar a estratégia de otimização de range.
Portanto, meu palpite (que não vale nada) utilizando a estratégia seria de:
26.269,41 USD

118  Other / Beginners & Help / Re: A summary of what I understood about Private / Public Keys and Digital Signature on: September 28, 2023, 04:02:08 PM
You wrote so many words that it is difficult to read them all, but this part is wrong:

Quote
Digital signature: They bridge this trust gap, offering a decentralized way to verify that a transaction truly originates from its claimed source and guarantees that it has not been tampered with.

Digital signature has nothing to do with transactions or confirmation that they have not been tampered with. Rather, it is similar to a real signature, as you use the private key to sign a message from a Bitcoin address. You can write anything in that message and it is often used to prove that you have a specific key or a specific amount of money. If someone asks you to prove that you own one Bitcoin at a specific address, you will sign a message from that address to prove ownership.

This topic explains some details with the codes. https://bitcointalk.org/index.php?topic=5440095.msg61773484#msg61773484


Quote
•   The magnifying glass, shared among friends and acquaintances, represents the public key. It allows anyone familiar with my stamp to verify the authenticity of the seal, ensuring the invitation truly comes from me.

The public key alone is not sufficient, as the message, signature, and address must be present, all of which must have either valid or invalid output.

Hey Yamane_Keto, thanks for the feedback!
I will take a look at that topic to understand better!

 Wink
119  Other / Beginners & Help / A summary of what I understood about Private / Public Keys and Digital Signature on: September 28, 2023, 12:55:31 PM
I'm on a journey "back to basics" in Bitcoin.
And the best way I found to find out if I understood, is to write and see if the content makes sense to a lay person.

I finished the chapter on Private / Public Keys and Digital Signatures.

The idea is to understand the problems that are solved with a given concept and use some analogies.

I would be honored with any comments regarding:
- Errors in concepts and understandings;
- Suggestions for structural improvements;
- Example improvements;

I hope it's useful to someone!

Let's go:

Private / Public Keys and Digital Signatures

Problem: Who issues your account login and password?

In the traditional banking world, when you want to open a bank account, you walk into a branch or visit a website, provide your personal details, and the bank creates an account for you. It's the bank that gives you an account number and helps you set a password. They hold the power and control over account creation, and they ensure that only you, with your unique password, can access your funds. If you forget your password or if someone tries to fraudulently access your account, it's the bank's responsibility to verify your identity and safeguard your money. The bank acts as the central authority, the gatekeeper, and the verifier.

Now, in a decentralized system like Bitcoin. If there's no central entity like a bank, then who creates your account? Who ensures that only you can access your bitcoins?

The brilliance of Bitcoin's decentralized system is that it doesn't rely on a central authority to issue accounts or validate transactions. Instead, it leverages the power of cryptography. In the Bitcoin world, you create your own "account" by generating a pair of cryptographic keys: a public key, which is like your account number, and a private key, which is like your password.
But unlike a bank password that can be reset, your private key is unique and non-recoverable. Lose it, and you lose access to your funds. Share it, and others gain access. It's a system built on trust in mathematics and code, rather than trust in a central institution.

This decentralized approach offers freedom, control, and responsibility. It's a revolutionary shift from the centralized systems we've always known, placing the power of account creation and access squarely in the hands of the individual.

Excellent. But once I have my account and password, who will validate that I authorized a transaction?

Problem: Who verifies that a transaction was actually authorized by the issuer and not tampered with?


Digital signature: They bridge this trust gap, offering a decentralized way to verify that a transaction truly originates from its claimed source and guarantees that it has not been tampered with.

Digital signatures is a more secure subset of electronic signatures. So, let’s understand the differences, real-world applications, especially in a decentralized context and for Bitcoin.

Let's start with a broader category:

Electronic Signatures:
Think of the electronic signature as the digital equivalent of your handwritten signature on a paper document. It's any electronic data (like a typed name, an uploaded image of a handwritten signature, or a click on an "I agree" button) which is logically associated with other electronic data and is used by the signatory to sign. It's akin to a physical signature but in electronic form.

Most of us engage with electronic signatures, often without realizing it. Here are some commonplace examples:

Agreeing to the terms and conditions of a software or online service by clicking "I Accept."
Signing on digital pads after credit card transactions at retail outlets.
Using signing platforms, where one can draw or upload an image of your signature to digitally sign a document.


Your electronic signature is your signature and doesn’t change based on the item being signed: when you sign a cheque, a letter, or a document, the whole point is that your signature looks the same. This is easy for other people to copy! This is really terrible security!

The problem with electronic signatures is that they rely on a trusted third party to validate the authenticity of the signatory and the integrity of the signed data. For instance, when using e-signature platforms, the platform itself acts as the third party, ensuring that the signatory is who they claim to be and that the document hasn't been tampered with after signing.

In contrast, a digital signature is only valid for that exact piece of data, and so it cannot be copied and pasted underneath another piece of data, nor can someone else re-use it for their own purposes. Any tampering with the message will result in the signature being invalidated. The digital signature is a one-time proof that the person with a private key really did approve that exact message. No one else in the world can create that digital signature except you, unless they have your private key.

So given that we learned that Bitcoin does not have a trusted third party, this is where digital signatures come in to "sign" valid transactions confirming the sending of coins from one account to someone else’s.

Digital Signature:

Delving deeper, the digital signature is a specific type of electronic signature. Rooted in cryptography, it involves creating a unique digital code (“signature”) using a private cryptographic key. When others receive the digitally signed document, they can use the signatory's public cryptographic key to verify the document's authenticity and ensure it remains unaltered since being signed.

Imagine I've organized an exclusive party, and I want to send out special invitations to a select group of friends. Given the event's exclusivity, it's vital that the recipients know that the invitation genuinely came from me and hasn't been replicated or forged.
To ensure this, I seal each invitation envelope with my unique wax stamp. This stamp, known only to belong to me, adds a touch of authenticity to each invitation. Once pressed into the wax, the seal's intricate design hardens, making it evident if someone were to tamper with the envelope.
While my wax stamp is unique, the method to verify it isn't hidden. Over the years, friends and acquaintances have come to recognize the design of my stamp. Moreover, I've often shared a magnifying glass at gatherings, which displays the finer details of my stamp's design for anyone curious.
Once they receive the invitation, anyone can analyze the wax seal and validate its authenticity.
This verification assures that the invitation is genuine and indeed from me.

In this scenario:
•   My unique wax stamp represents the private key. It's used to assert authenticity by "signing" the invitation.
•   The magnifying glass, shared among friends and acquaintances, represents the public key. It allows anyone familiar with my stamp to verify the authenticity of the seal, ensuring the invitation truly comes from me.



A digital signature is created by taking the message you want to sign and applying a mathematical formula with your private key. Anyone who knows your public key can mathematically verify that this signature was indeed created by the holder of the associated private key (but without knowing the private key itself).

Knowing that those who will solve the problem of issuing the account and password are the public key and the private key, and that those who will solve the problem of verifying the authenticity of transactions are digital signatures, then how are they created? How do they work?

To do this we will have to quickly understand a little cryptography. Although this is the most important and complicated topic, we will only touch the surface.

Cryptography is used to provide:
Encryption: When only the intended recipient can interpret the message (Confidentiality);
Signatures: When you want to ensure that the message was written by the sender (authentication) and was not tampered with in transit (integrity);

There are two ways to do encryption. Those two ways are symmetric encryption and asymmetric encryption.

The main difference between these two is that symmetric encryption is going to encrypt and decrypt content using the same keys, and asymmetric encryption is going to encrypt and decrypt using different keys.

So let's talk about what that means.


To show you how this is going to work, we're going to use the alphabet. Now for these examples, we're going to assume that there's only lowercase a through z, there's no uppercase characters, there's no numbers, there's no symbols. We're going to keep it simple for the explanation.

So the symmetric encryption uses the same key for encryption and decryption. So let's say we start with the word HELLO. We are going to use a symmetric encryption algorithm in combination with a secret key. Now the algorithm we are going to use for this example is simply moving the letters forward, and we are going to move it that amount of times In this case: three. Well if we start at the H and I move forward three times, we'll end up at K. If we did the same for the rest of the letters in the word, we'd end up with KHOOR.

To decrypt this, we would simply take the cipher text and do the inverse of the algorithm. So if our algorithm was to move forward, our decryption algorithm is going to be to move backwards and we’re going to use the same key. So if we move forward three times to encrypt, we’re going to move backwards three times to decrypt. If we start at the K and we move backwards three times, we'll end up back at the H. And again we could do this for the rest of the letters to decrypt the whole word.

So that's a simple example of symmetric encryption. In this case, the same key was used for both encryption and decryption.

Now let's talk about asymmetric encryption and you're going to see it's a little different. With asymmetric encryption, we’re still going to use an encryption algorithm, but the keys I use for encryption and decryption are going to be different.

Here I'm going to use the encryption key of five. Again I'm going to start with H and I'm going to move forward five times to get to M. I could do it with the rest of the letters in this word to get to MJQQT. Now it might seem like you can just go backwards to get back to H. But  asymmetric encryption algorithms are usually a one-way function. Remember the hash algorithms we learned previously? We can't do them backwards!

So in the case of asymmetric encryption, we can't actually go backwards. Instead we have to go forward a different amount. To decrypt this, I'm going to have to take my cipher text and use a different key going forward again. So starting with the M, if I go forward 21 positions, I'll end up back at the H. And I could do it again for the rest of the letters to decrypt the rest of the word. But note that unlike symmetric encryption, we move forward to encrypt and forward again to decrypt. With symmetric encryption, I was able to use the same key to encrypt the decrypt. Whereas with asymmetric encryption, I had to use different keys to encrypt and decrypt.

Now let's talk about those keys a little bit more. Those two keys I used in this case, 5 and 21 are mathematically related. Whatever I encrypted with 5 could only be decrypted with 21. There are other combinations of keys that you could use in our little example using just the alphabet. Actually anything that adds up to 26 would work. So I could have also used an encryption key of 6, a decryption key of 20.

Well, what if I used them in the reverse order? What if I encrypted a 21? Could I not then decrypt with 5?

Well, let's give it a shot. Again, I'm going to start at the H and I'm going to see if I can move forward 21 times. That will bring me back to the C and I could also do the same for the rest of the letters. And then to decrypt this, I would again take my cipher text and then move forward another 5 times. That would bring my C back to an H successfully decrypting the first letter of my plain text. I could again use the same decryption key to decrypt the rest of the letters. The main thing I'm pointing out here is this property of asymmetric encryption is that what you can encrypt with one key can only be decrypted by the other key. But it works in either direction. I can encrypt with 21 and decrypt with 5, or as we showed earlier, I can encrypt with 5 and decrypt with 21.

These two asymmetric keys are mathematically related.

Now, what the industry does with this is they take one key and they label it as the public key and they make it available to anybody that asks for it. And then they take the other key and they call it the private key and they keep it to themselves.

Given that cryptography allows encryption and signatures, but for Bitcoin purposes, we will only focus on the Signature feature.

So, if you have the private key you can sign a message.
And if you have the public key, you can prove the signature was made by the owner of the private key;


When someone wants to send bitcoins to another person, they create a transaction message specifying the amount and the recipient. However, instead of signing the entire transaction message, which can be of variable length and relatively large, Bitcoin employs a more efficient approach: What is signed is the hash of the transaction.

This way, we can ensure:

Uniformity: Regardless of the length or content of the original message (transaction), its hash will always be of a fixed length (256 bits in the case of Bitcoin's SHA-256 hashing algorithm). This uniformity is convenient for processing and verification purposes.

Efficiency: Signing a hash, which is a fixed and relatively small size, is computationally more efficient than signing a potentially large and variable-length message.

Security: The cryptographic hash functions used in Bitcoin (like SHA-256) have the property that even a tiny change in the input will produce a vastly different output. This means that if even one character in the original transaction changes, the hash will change entirely. Thus, by signing the hash, the integrity of the entire transaction is ensured.

So, this is how public and private keys are used to sign a transaction in Bitcoin:

I am going to generate a transaction of 1 bitcoin for my grandma. I'm then going to run that transaction through a hashing algorithm. That's going to result in a particular output. For our example, the hashing algorithm produces the output "HELLO" from the input "transaction of 1 bitcoin".
That output "HELLO" is then going to be encrypted with my private key. Given that my private key is 5 (letters ahead in the alphabet), this means signing the hash "HELLO" results in "MJQQT". The result of that, which is the encrypted output "MJQQT", is the signature. That is actually the signature of that transaction of 1 bitcoin. That gets appended to the transaction, and then both the transaction and the signature get sent across the wire.

Now, that signature was created with my private key, which means on the other side, my grandma is going to use my public key to verify the signature. Given that my public key is 21 (letters ahead in the alphabet), my grandma will use it to verify if the signature was made by the private key that is a pair of my public key.
What she's going to do is take the signature "MJQQT" and decrypt it using my public key. That's going to result in the output of the hash of the transaction: "HELLO" .
Then my grandma is going to independently calculate a hash of that transaction. If the output "HELLO" that my grandma got in her calculation matches the output "HELLO" that I had sent, this proves two things.

First, it proves that the transaction has not changed since I signed it. Remember, this output was created by taking a hash of this transaction. So if anything changed in this transaction, my grandma would have gotten a different output. This gives us the property of integrity.

The other thing that signatures prove is that only I could have created the signatures. This signature was created as a result of taking my private key and encrypting the digest "HELLO". Well, if my grandma was able to decrypt something with my public key, this proves it was definitely my private key that signed it. And the only person in the world that has my private key is me. This gives us authentication.

120  Local / Português (Portuguese) / Re: [TELEGRAM] Bot de Notificações e Tópicos do Fórum on: September 20, 2023, 12:35:55 PM
Quero dar as boas vindas ao @prancheiro e avisar ele do Bot que temos!!!

Basicamente, com esse bot de telegram que o TryNinja fez pro fórum, você vai ser notificado todas as vezes que eu usuário te responder ou te citar e ai fica bem mais fácil participar das discussões Smiley

Tem algumas outras funções, você pode personalizar pra receber notificações de tópicos específicos, como o de campanhas pra saber quando abrir alguma!

Enfim, acho que é um tópico bem bom pra iniciantes, espero que você fique conosco por bastante tempo

Obrigado pela atualização, Disruptivas!

Vou dar uma lida com carinho no tópico e habilitar as funções!

Pages: « 1 2 3 4 5 [6] 7 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!