加法準同型性

Google CTF 2022 | Maybe Someday

#googlectf2022 #!/usr/bin/python3 # Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at …

Camenish-Shoup暗号

検証可能な暗号(復号の途中に不正な暗号を検出できる) 加法準同型性を持つ (ベースが Paillier暗号なんだな) 鍵生成 安全素数 を選び、 を計算する と をランダムに選ぶ を計算する 適当なハッシュ用の鍵 を生成する 公開鍵: 秘密鍵: パラメータ: 暗…

準同型性

加法準同型性 乗法準同型性 homomorphism homomorphic

Paillier暗号

パラメータを決め打つかどうかなどで復号処理が一般化されていたりされていなかったりで難しい 鍵生成 素数 秘密鍵 公開鍵 where 暗号化 乱数 を持ってきて、 復号 まず、 途中で カーマイケルの定理 の拡張 (ただし と を用いている これを利用して、復号…

Okamoto-Uchiyama

加法準同型性 がある