tiny dew retweeted
Eli is directionally correct that lattice-crypto has more algebraic structure than hash-crypto and that this structure could theoretically be used to break it, altho i think the newness of lattices is a bit overstated.
Lattice crypto originally started as offensive cryptanalysis, not a defensive structure.
In cryptography, you generally want all-or-nothing systems. If I try to guess your password and I’m even one character off, I should get no clue about how close I was or which characters were correct.
In practice, this is difficult. For example, if I respond slightly slower depending on how many characters are correct, then you can use timing to gradually extract the complete password. This is where timing attacks come from.
Lattices are like vector fields but instead of taking any linear combination of the basis vectors (with real coefficients) you only accept integer coefficients. So you have some building blocks and you can combine them but not shrink or stretch them. It’s similar to how crystals have evenly spaced atoms in multiple dimensions.
The basic idea in lattice attacks is that you find a bunch of clues or partial solutions and make each one a basis vector. Then you try to find (“Learn”) a combination of them whose sum is small (Short Integer Solution, SIS), which simultaneously combines the partial solutions to make a complete solution.
This method can be used to attack elliptic curve signatures when the nonces used are biased, not uniformly distributed.
Lattice signatures and zk-proofs use similar ideas but defensively, to find problems that resist lattice attacks. Learning-With-Errors (LWE) essentially takes that short integer solution and adds noise to it so that an attacker cannot use straightforward linear algebra to solve it. Then you can prove you know the solution without revealing it by solving a related problem.
Hash-crypto works quite differently. It basically uses one-way functions (hashes) as a building block and you prove you know a secret by selectively revealing the inputs to a publicly-committed output.
Since hash-crypto doesn’t have any algebraic equations in its structure, people say it has less attack surface, which is true. The tradeoff is that you have much larger signatures and it doesn’t have nice threshold schemes or key exchange algorithms or encryption, which all rely on that missing algebraic structure.
Both hash-crypto and lattice-crypto rely on the security of hash functions, tho, so the reduction in attack surface is a clear win for hash-crypto.
It would be great if we just had full security-proofs for some crypto-system so we wouldn’t have to rely on heuristics like this, but that’s just where we are in our scientific knowledge as a species. Maybe AI will help us solve P =? NP and that will lead to provably secure systems.
tiny dew retweeted
人生只有一个主线任务。就是走向自我。无论你从事什么职业,有没有钱,结没结婚,这些都不重要。
你的主线任务就是走向自我,获得内心的平静,深度稳定的人际关系,专业上的精通,以及一种与自身价值观高度一致的生活方式。
不屑解释看透世事丁元英
机关算尽算到自焚沈一石
自断仕途广陵绝响嵇康
欲与天斗胜天半子祁同伟
...
傲、痴、执、狂
曾觉得许多为人称道的人物多多少少在自嗨,何必呢?真没有其他选择吗?非得走到那步吗?接点儿地气不行吗?
最近不再这么想,真就没有所谓的其他的选择,本来脚下就没有岔路。
语言是一门大学问,不只是人类沟通的桥梁,还是我们思维的底层框架。十二年义务教育加上大学教育,也仅是掌握语言的表层“技术”,学习如何走上桥梁。那么关于底层框架的性质,何时真正思考过呢?
我总能被语言使用精准的人吸引并产生佩服之感。必须承认我自己在语言使用上是不够好的,经常把一个词用在不恰当的地方,或是有更精确的词汇可以形容却总想不起来而使用了通用词汇,导致我所说不能完全反映所想。另外还有语言节奏感的把握,我认为语言就如音乐一样,有它的节奏韵律,好的节奏能在留白间就透露情感,不好的节奏让人产生困惑和误解。还有一层面是,我们掌握的语言技术有它的局限性,譬如二元性,若想追求效率,就会丧失很多描述的准确性,特别是在传达思想、感受、意境时。如何做到在简短言语间,消解二元,准确传达思考,是个大大学问。关于语言,太多太多。
我认为语言的掌握与使用,隐秘反应了一个人的思想,而它又处处、时时存在在我们的生活,连系了人人、人物、人事。实在值得被认真对待。
人们常常在潜意识中完成对事物的预设,并悄然转化为期待,就像惯性动作一样。当客观事实与主观预期发生偏差时,情绪骤然升起,进而成为烦恼。
若无法觉察这种情绪源于自身的投射,人们可能会习惯性地启动防御机制,竖起理性盾牌,进行叙事重构与行为合理化。如此,烦恼将如烟般笼罩,在浓烟中找不到根源与方向。
觉察之重要。










