标题: 椭圆曲线加密算法之Sony惨案模拟题 创建: 2023-12-11 16:09 更新: 2023-12-18 19:03 链接: https://scz.617.cn/misc/202312111609.txt ECC公钥(pub.pem)如下: -----BEGIN PUBLIC KEY----- MIIBMzCB7AYHKoZIzj0CATCB4AIBATAsBgcqhkjOPQEBAiEA//////////////// /////////////////////v///C8wRAQgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAEIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHBEEEeb5m fvncu6xVoGKVzocLBwKb/NstzijZWfKBWxb4F5hIOtp3JqPEZV2k+/wOEQio/Re0 SKaFVBmcR9CP+xDUuAIhAP////////////////////66rtzmr0igO7/SXozQNkFB AgEBA0IABADEclsh8RJbhCu4meeZlw0gzBz1qTgoiLpK09ATpsF/BpHlr7syDmqf QDw39Axe+HDZwECCIkHgUgAjiP2kpww= -----END PUBLIC KEY----- 三组明文如下: xxd -g 1 message_0.bin 00000000: 54 68 69 73 20 69 73 20 74 68 65 20 66 69 72 73 This is the firs 00000010: 74 20 6d 65 73 73 61 67 65 2e t message. xxd -g 1 message_1.bin 00000000: 54 68 69 73 20 69 73 20 74 68 65 20 73 65 63 6f This is the seco 00000010: 6e 64 20 6d 65 73 73 61 67 65 2e nd message. xxd -g 1 message_2.bin 00000000: 54 68 69 73 20 69 73 20 74 68 65 20 74 68 69 72 This is the thir 00000010: 64 20 6d 65 73 73 61 67 65 2e d message. 两组ECDSA签名如下: xxd -g 1 message_0.sig 00000000: 30 46 02 21 00 90 2e d0 16 f3 b7 58 87 64 85 e3 0F.!.......X.d.. 00000010: 3c 6e a3 d4 db 8e f1 a3 3b 7d 83 ce 26 de eb 75