找到约 12 条结果

文章 密码学家族:Blum, Blum和Blum

...成中使用。 使用的代码是 \[ [这里](https://asecuritysite.com/random/blum)\]: ``` import sympy import random import re import sys x = 3*10**10 y = 4*10**10 seed = random.randint(1,1e10) def lcm(a, b): """Compute the lowest common multiple of a and b""" # 计算 a 和 b 的最小...

文章 离线支付的过去、现在与未来

...源:[Sylvain Mauroux](https://unsplash.com/photos/person-in-red-jacket-and-blue-pants-sitting-on-rock-mountain-covered-with-snow-during-daytime-m6wbWMF6p9s?utm_content=creditShareLink\&utm_medium=referral\&utm_source=unsplash)) - 因为离线支付是一个长期存在的使用体验挑战,...

文章 使用流和React可视化实时区块链数据

...aign=guides&utm_content=visualizing-real-time-blockchain-data-with-streams-and-react) 及其工作原理;随后,我们将展示如何构建一个 React 应用程序,该应用程序使用 Express.js 和 ngrok 作为 API 服务,将实时区块链数据流式传输到前端。 ### 你将要做...

文章 Solidity vs. Vyper:不同的智能合约语言的优缺点

...编程语言](https://vyper.readthedocs.io/en/stable/index.html#principles-and-goals),而 Solidity 旨在成为一种通用的智能合约语言。编码的体验在语法层面上也是如此,但每个人肯定都有自己的主观感受。 我不会过多地讨论工具,因为大多数这...

文章 理解群论

...x * y) % 5 def is_ring(): is_add_abelian_group = is_semigroup(add) and is_monoid(add) and is_group(add) and is_abelian_group(add) is_mul_monoid = is_semigroup(mul) and is_monoid(add) return is_add_abelian_group and is_mul_monoid is_ring() ## True ``` ### **...

文章 Bitcoin Optech:2021 比特币技术进展年度回顾

...nops.org/en/newsletters/2021/06/02/#candidate-set-based-csb-block-template-construction) 描述了一种矿工选择在区块中包含哪些交易的另类方法,预计这种新的方法可以在短期内略微提高矿工的利润。在长期中,如果矿工普遍接收了这种方法,意识...

文章 BLS12-381 理论与实现

...follow*. ----- ## 这里没有的 - group theory, field theory and homomorphism 相关基本概念在这里不会涵盖,详情请查阅任何**abstract algebraic** 相关的书籍 - divisors 相关基本概念在这里不会涵盖,对于了解**Pairing** 来说...

文章 CTFProtocol-2022 题解

...th his cat in a big house that has 2^256 rooms. His cat likes to play hide and seek and jumps to a random room whenever it hears a door opening in another one. Can you find Lucas' cat? Set the variable `catFound` to `true` to win this challenge. **源码** ```solidity // SPDX-License-Identifi...

文章 2.MOVE从入门到实战-编译和运行脚本

...[addresses] # (Optional section) Declares named addresses in this package and instantiates named addresses in the package graph # One or more lines declaring named addresses in the following format = "_" | "" # e.g., Std = "_" or Addr = "0xC0FFEECAFE" [dependencies] # (Optional section) Paths...

文章 Web3实战:使用Anchor与Rust开发和调用Solana智能合约

...rted warning mocha > glob > inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. [2/4] 🚚 Fetching packages... [3/4] 🔗 L...

文章 Eclipse $ES 深度解析

...45/en/Eclipse-Labs-Announces-%2450M-Series-A-Funding-co-led-by-Placeholder-and-Hack-VC - https://www.finsmes.com/2024/03/eclipse-labs-raises-50m-series-a-funding.html#:~:text=Virtual%20Machine%20,in%20Series%20A%20funding - https://www.finsmes.com/2022/09/eclipse-raises-15m-in-pre-seed-and-see...

文章 从零开始学习zk-SNARK(五)—Pinocchio 协议

... https://arxiv.org/pdf/1906.07221.pdf https://medium.com/@imolfar/why-and-how-zk-snark-works-7-constraints-and-public-inputs-e95f6596dd1c https://medium.com/@imolfar/why-and-how-zk-snark-works-8-zero-knowledge-computation-f120339c2c55 **参考文献** [con18] — Wikipedia contributors...