David Duarte (@nhaga) header
David Duarte (@nhaga) profile picture

nhaga.algo 🇵🇹 https://xitter.cf/t.co/Zwzgfa5Dg0 https://xitter.cf/t.co/m7F86fre8w

Lisboa
Joined April 2009
Photo by David Duarte (@nhaga)Photo by David Duarte (@nhaga)Photo by David Duarte (@nhaga)Photo by David Duarte (@nhaga)Photo by David Duarte (@nhaga)Photo by David Duarte (@nhaga)Photo by David Duarte (@nhaga)Photo by David Duarte (@nhaga)Photo by David Duarte (@nhaga)
David Duarte retweeted
I don't recommend anyone scramble to move their funds to new wallets today. But we should take the risks to cryptography from AI-accelerated math seriously, and minimize our exposure to not just quantum-vulnerable cryptography, but also potentially AI-vulnerable cryptography. The core new area of risk from this viewpoint is, unfortunately, ML-DSA / FHE / lattices. (and it's also another reason, along with quantum, why ECDSA might fall even faster than expected, hence the "fresh address" recommendation) So far most people have been in the mode of thinking "elliptic curves broken, hashes safe, lattices safe". But there is a good chance that the concrete security of lattices will take serious hits from the next two years of AI math. The basic threat model is: factoring is something that naively takes 2^(n/2) time, but over decades smart people have found and optimized number field sieves, and degraded that to 2^O(n^(1/3)), which is why RSA keys and signatures need to be ~400 bytes (and not 64 bytes). What if there are skeletons in the closet like that, both for elliptic curves and lattices, that we are simply not smart enough to discover - but bots soon will be? This is a major part of the reason why for the past year ethereum's lean roadmap has been going in the "hash-only" direction: no lattices, no ML-DSA, no Falcon, no lattice-based commitments inside ZK proofs, etc. Signatures in lean ethereum are all hash-based, either WOTS or SPHINCS-. For signatures and proofs, we already know how to go hash-only. The bigger challenge is for *public-key encryption* - and this goes far beyond blockchains. Secure communication, anonymizing protocols, lots of things need public-key encryption. And unfortunately there are long-standing mathematical theorems showing why public-key encryption cannot be done with hashes alone. You have to have some kind of trapdoor object that has at least one form of usable "structure" - either group theory (incl. isogenies) or lattices or code-based or potentially in the future even more newfangled and spooky things (local mixing?). But for anything that has structure, you should assume that AI will make at least some progress in breaking that structure. Here, one reasonable inference is that if you want to make something plausibly long-term secure, multiply the key sizes by 10. To me that's a very plausible world and something not at all extreme to predict. If AI will bring us 50 years of math in 2 years, then that 50 years of math may very plausibly include a "naive factoring -> GNFS" level of improvement to our ability to break lattices. In that world, lattices will still exist, but they will have to be significantly bigger to guarantee the same level of safety. And at those new larger sizes, hash-based constructions will beat lattice-based constructions on concrete efficiency in every use case where hash-based constructions are possible at all. Theoretically, of course it's possible that hashes are broken too (eg. P = NP would imply that). But I think P = NP is very unlikely. And intuitively, it's much more likely that a mathematical object has exactly no exploitable structure (like hashes are intended to), than that a mathematical object has exactly ~3 forms of exploitable structure (for elliptic curves: associativity, Schoof, pairings) and not some secret fourth form of structure we have not yet discovered that greatly degrades its security (for elliptic curves, ECDLP and pairing security). Similar for LWE, SVP, RLWE and the zoo of lattice problems. For this reason, we do not yet see any reason to worry and start padding the byte size of hashes (if we start to worry more, we would pad the round count first before doing anything to the byte size). Concrete TLDR, my own personal views: * Hash-based > lattice-based, in those situations where hash-based is possible at all * For anything lattice-based, be much more paranoid on param sizes. Remember that blockchains are only a small portion of the cryptography story; this point goes far beyond blockchains and applies to eg. access to websites, secure messaging, Tor / VPNs ... * For privacy protocols, strongly favor NOT putting encrypted notes onchain. Instead, send them offchain through some third-party mechanism. * If it's not difficult for you, keeping your funds in addresses which have not yet been used to make a transaction is a good idea. If it's easy for you, do it. **But be careful about migrations; I personally have lost more money in botched migrations than I have lost in all hacks combined**. * For multisig wallets, doing confirmations offchain is better than onchain, because this way the signatures of signer wallets do not get exposed to the public, so if ECDSA falls to AI much faster than expected, at least the multisig "gracefully degrades" to a 1-of-1 where the 1 is whoever was gathering the signatures - a much better place to be than "anyone can take the money" firefly.social/post/x/210783…
1,245
1,914
893
11,129
3,972,857
David Duarte retweeted
Un desarrollador chino llamado tw93 se hartó de que sus aplicaciones de escritorio le devoraran la RAM y el disco. Abría Slack y desaparecían cientos de megabytes. Abría Discord, Notion o cualquier otra app y pasaba lo mismo. ¿La razón? Casi todas son lo mismo por dentro: un sitio web empaquetado con una copia completa del motor de Chrome (Electron). Decidió que tenía que haber una forma mejor. En 2022 empezó a construir Pake. Usó Rust + Tauri, que en vez de incluir un navegador completo, aprovecha el WebView nativo del sistema operativo. El resultado fue brutal: - Slack con Pake → 8 MB (en vez de 524 MB) - Discord con Pake → 9 MB (en vez de 265 MB) - ChatGPT con Pake → 9 MB (en vez de 260 MB) Cuatro años después, su repositorio tiene más de 51.000 estrellas en GitHub. Tiene builds listos para Grok, ChatGPT, Gemini, Discord, YouTube, Twitter y muchos más. Todo bajo los 10 MB, ligero, rápido y gratis. Y lo mejor: con un solo comando puedes convertir cualquier página web en una aplicación de escritorio nativa. No fundó una startup. No levantó inversión. Solo resolvió un problema que molestaba a millones de personas. A veces el cambio real lo hace una sola persona que se cansa de las cosas como están. Esta brutal, repo en los comentarios 👇
112
1,587
53
12,134
628,591
I just claimed my SXT tokens from @Chainlink Rewards: Season Genesis on rewards.chain.link! If you're a LINK staker, check your eligibility and claim your portion of the 100,000,000 SXT tokens made available in Season Genesis by @spaceandtime
1
1
3
208
Build interoperable dApps with @chainlink’s CCIP ⛓️ Cross-Chain Rebase is now LIVE on Cyfrin Updraft! This new, comprehensive 6-hour section in our Advanced Foundry course dives deep into bridging and rebase tokens. 30 practical lessons + 1 full project 👇
12
63
11
338
50,733
🚀 Stake your #ETH on @Haven1official and win BIG! 🚀 💰 Score ETH rewards from us + SD tokens from our friends at @StaderLabs! 🎉 🪂 & Boost your airdrop allocation while you're at it! 🤑 🔗 Get started now! join.haven1.org/46c4iLq #jointheREKTResistance #Haven1Up #Staking #Crypto #Rewards
1,013
1,317
488
849
30,040
David Duarte retweeted
$TARA #FicusRootBridge activation play-by-play, 🎉 Core bridge contracts have been deployed! >> On the #Ethereum network: ETH_bridge: 0x359CF536b1fd6248ebAd1449E1B3727caB33A01d TARA_client: 0xcDF14446F78ea7EBCaa62Fdb0584e4D2e536B999 TARA token on ETH: 0x2F42b7d686ca3EffC69778B6ED8493A7787b4d6E >> On the #Taraxa network: TARA_bridge: 0xe126E0BaeAE904b8Cfd619Be1A8667A173b763a1 ETH_client: 0x7157233800c3c1f2ac8b12Cefe2cBE796C04446B BeaconLightClient: 0x97Eb8E024bE036eCdb25aDf842C5D6241189FB53 ETH token on TARA 0x39b1fC930C43606af5C353e90a55db10bCaF4087
10
41
7
144
8,409
David Duarte retweeted
Reminder: only click official links. Our S2 checker will be live later this evening EST! Nothing has been released yet.
1
85
19
732
170,451
David Duarte retweeted
bitcoin fixes this
BREAKING: $BRK.A, Berkshire Hathaway Class A, has been halted down, down 99.97%, -$627,214.90 by NSYE. Unclear if glitch.
377
1,118
100
7,500
844,911
David Duarte retweeted
Learn more about $TARA's upcoming #FicusRootBridge, the 💯 #decenetralized + #permissionless cross-chain bridge connecting ETH and TARA ecosystems! buff.ly/3wJlMBL
27
49
13
168
34,925
On April 20th we had the first hands on event! A workshop for deploying your first smart contract with @chainlink ! Three hours of content for the Devs in the house and an use case with @FolksFinance Also snacks and drinks for the guests! Make your web3 event with us! DM NOW!
1
3
520
On Saturday the 20th, we're expecting DEVs here at The Block Lisboa! Bring your computer for an afternoon of free drinks and food, with hands-on learning about deploying a smart contract with @chainlink and to know a real use case with @FolksFinance !!! meetup.com/theblock/events/2…
1
7
3
14
2,584
211
1,415
303
6,418
1,120,689
BREAKING: 8-YEAR VETERAN OF SEC ENFORCEMENT DIVISION THAT LED ACTIONS AGAINST @coinbase AND WAS MEMBER OF TEAM ENGAGED IN FIGHT WITH @Ripple DECLARES THAT "CRYPTO IS HERE TO STAY" - LEAVES SEC AND JOINS U.S. LAW FIRM THAT ADVISED @Fidelity IN $BTC ETP
30
106
32
727
96,890
Blobs are now flowing in Sepolia :D Uneventful testnet forks are the best ones!
Everything looking smooth so far 😄
8
46
20
285
60,518
The @SECGov twitter account was compromised, and an unauthorized tweet was posted. The SEC has not approved the listing and trading of spot bitcoin exchange-traded products.
25,573
9,374
18,701
27,441
30,927,665
CoinSpotlight: @taraxa_project 🔹As blockchain technology evolves, scalability remains a significant challenge 🔸@taraxa_project aims to address this by innovating beyond traditional single-chain structures, offering solutions to scalability without compromising security $TARA
10
51
7
114
13,943