Bitcointalk · A newb's test - anyone want to buy a picture for $1?

中本聪,2010 年 1 月 29 日

SN-0098 已核对来源,附原文与上下文。

阅读语言
中文译文

下单付款的推荐方式: 1) 商家有静态 IP,客户带备注直接发过去。 2) 商家新建一个比特币地址交给客户,客户发到该地址。这将成为网站软件的标准做法。

RSA 对 ECDSA:关键不在可执行文件的体积,而在数据的体积。我当时想,如果区块链、比特币地址、磁盘空间和带宽需求都要大一个数量级,那就不实用了。另外,即便用 RSA 传消息,整个比特币网络仍用 ECDSA、只对消息部分并行使用 RSA 也更合理。那样的话,到目前为止已实现的一切都可以原样保留。

这件事可以等很久之后再想最优做法。它可以用独立的(也许是现有的)电子邮件或 IM 基础设施来传消息;也可以不用 RSA,只在交易里放进消息的哈希,以证明这笔交易对应消息中描述的订单。消息里必须带盐,否则没人能阻止别人暴力破解哈希、还原短消息。

ORIGINAL · 英文原文
The recommended ways to do a payment for an order:
1) The merchant has a static IP, the customer sends to it with a comment.
2) The merchant creates a new bitcoin address, gives it to the customer, the customer sends to that address.  This will be the standard way for website software to do it.

RSA vs ECDSA: it's not the size of the executable but the size of the data.  I thought it would be impractical if the block chain, bitcoin addresses, disk space and bandwidth requirements were all an order of magnitude bigger.  Also, even if using RSA for messages, it would still make sense to do all the bitcoin network with ECDSA and use RSA in parallel for only the message part.  In that case, everything that's been implemented up to now would be implemented exactly as it has been.

We can figure out the best way to do this much later.  It could use a separate (maybe existing) e-mail or IM infrastructure to pass messages, and instead of RSA, maybe just put a hash of the message in the transaction to prove that the transaction is for the order described in the message.  The message would have to include a salt so nobody could brute force the hash to reveal a short message.
上下文
← 上一条 SN-0098 · 当前 下一条 → 在档案中查看完整主题串 →
来源
Bitcointalk 原始链接 ↗ 记录编号 SN-0098