读初中时,英语课本里有一对儿明星CP李雷和韩梅梅经常跳出来考我们的听力水平,对他们是既爱又恨。在暗号界也有一对儿明星:Alice和Bob,不过他俩可没空跳出来难为学生娃们,他俩有更重要的事情,总是忙着应用各种办法提防第三者Eve、Mallory等破坏他们的联系。关于他俩的传说有很多很多。
他俩都是70后,都生于1978年。
两人早早结婚,1983年离婚(时间线有点离谱),他俩不待见对方不见面,但还在一起做生意,不得不经常打打电话发发信息,还有些资金上的往来。有另外两个恨角儿Eve和Mollary多年来一直盯着他俩。Eve生于1988年,喜好偷听(eavesdropper),Mallory出生年月不详,专搞损人又利己的事儿:破坏、篡改Alice和Bob的通信信息或偷梁换柱骗取Alice和Bob的钱财(the man-in-the-middle attacker with malicious intent)。
Although Alice and Bob were invented with no reference to their personality, authors soon began adding colorful descriptions. In 1983, Blum invented a backstory about a troubled relationship between Alice and Bob, writing, “Alice and Bob, recently divorced, mutually distrustful, still do business together. They live on opposite coasts, communicate mainly by telephone, and use their computers to transact business over the telephone.”[8] In 1984, John Gordon delivered his famous[9] “After Dinner Speech” about Alice and Bob, which he imagines to be the first “definitive biography of Alice and Bob.”
也有传说Bob是股票经纪人(stockholder),Alice经常跟Bob买股票,是投机者(speculator),她自己的财务状况不想被她husband知道。而且Alice和Bob经常讨论的话题是如何逃税(Tax Fraud)等不法行为,所以他俩的讨论也不想让其他人知道,比如Tax Authority,Secret Police等等,有这么厉害的对手,是难上加难,但是Alice不这么认为,她的粉丝们也不不这么认为。
暗号界的粉丝及英雄们为了保证这对明星的联络正常,可谓绞尽脑汁、前赴后继。这些英雄中最为耀眼的当属 Whitfield Diffie和 Martin Hellman两位大师,他俩在1976年联合发明了不用交换加密的密钥也能正常加密解密的数学方法(Diffie–Hellman key exchange),在将近30年后,他俩获得了2015年度的“图灵奖”—计算机科学界的最高荣耀。
为了获得被Alice和Bob翻牌Bluetooth的机会,Blueooth SIG也忙前忙后的为他们定义了蓝牙数据的加密规范Security Manager Specification。
关于BLE 配对及机密机制,下面一篇大牛JDH的文章写的非常详尽。
BLE安全机制从入门到放弃
参考文献
[1] A History of The World’s Most Famous Cryptographic Couple
[2] Alice_and_Bob
[3] Alice and Bob in Cipherspace
[5] Alice and Bob in Love
[6] The Alice and Bob After Dinner Speech
[7] Bluetooth Core Spec 5.2
[8] The AES-CMAC Algorithm