feat: add the gcm crack
Example testcase is working
This commit is contained in:
parent
16b65b0de4
commit
4c9adb9fdc
7 changed files with 253 additions and 24 deletions
|
|
@ -1,19 +1,29 @@
|
|||
{
|
||||
"testcases": {
|
||||
"sandbox": {
|
||||
"action": "gfpoly_factor_edf",
|
||||
"arguments": {
|
||||
"F": [
|
||||
"mmAAAAAAAAAAAAAAAAAAAA==",
|
||||
"AbAAAAAAAAAAAAAAAAAAAA==",
|
||||
"zgAAAAAAAAAAAAAAAAAAAA==",
|
||||
"FwAAAAAAAAAAAAAAAAAAAA==",
|
||||
"AAAAAAAAAAAAAAAAAAAAAA==",
|
||||
"wAAAAAAAAAAAAAAAAAAAAA==",
|
||||
"gAAAAAAAAAAAAAAAAAAAAA=="
|
||||
],
|
||||
"d": 3
|
||||
}
|
||||
"testcases": {
|
||||
"gcm_crack1": {
|
||||
"action": "gcm_crack",
|
||||
"arguments": {
|
||||
"nonce": "4gF+BtR3ku/PUQci",
|
||||
"m1": {
|
||||
"ciphertext": "CGOkZDnJEt24aVV8mqQq+P4pouVDWhAYj0SN5MDAgg==",
|
||||
"associated_data": "TmFjaHJpY2h0IDE=",
|
||||
"tag": "GC9neV3aZLnmznTIWqCC4A=="
|
||||
},
|
||||
"m2": {
|
||||
"ciphertext": "FnWyLSTfRrO8Y1MuhLIs6A==",
|
||||
"associated_data": "",
|
||||
"tag": "gb2ph1vzwU85/FsUg51t3Q=="
|
||||
},
|
||||
"m3": {
|
||||
"ciphertext": "CGOkZDnJEt25aV58iaMt6O8+8chKVh0Eg1XFxA==",
|
||||
"associated_data": "TmFjaHJpY2h0IDM=",
|
||||
"tag": "+/aDjsAzTseDLuM4jt5Q6Q=="
|
||||
},
|
||||
"forgery": {
|
||||
"ciphertext": "AXe/ZQ==",
|
||||
"associated_data": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue