Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
2024_10_19_大LT
Search
TotPro
October 24, 2024
26
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
2024_10_19_大LT
2024/10/19に開催されたZli 大LTの登壇資料です。
嘘があったらすみません。
TotPro
October 24, 2024
More Decks by TotPro
See All by TotPro
2025_04_13_技術座談会
totpro
0
13
2024_07_14_大LT
totpro
0
21
2024_01_21_大LT
totpro
0
28
2024_05_11_大LT
totpro
0
25
Featured
See All Featured
Utilizing Notion as your number one productivity tool
mfonobong
4
620
SEO for Brand Visibility & Recognition
aleyda
0
4.8k
How STYLIGHT went responsive
nonsquared
100
6.3k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Product Roadmaps are Hard
iamctodd
55
13k
It's Worth the Effort
3n
188
29k
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
270
Build your cross-platform service in a week with App Engine
jlugia
234
19k
WENDY [Excerpt]
tessaabrams
14
40k
Tell your own story through comics
letsgokoyo
1
1.1k
Raft: Consensus for Rubyists
vanstee
142
7.8k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
640
Transcript
OpenFHEの宣伝です 総資産 1
TP 自己紹介 HN: 総資産(TotPro) 学年:学部4年 所属:Zli 旧Twitter(X):@tot_pro_ 卒論中間ポスターの提出が来週の金曜日(10/25 17:00)までらしい 大ピンチ
2
OpenFHEの回し者ではありません Contributorでもありません なんなら使い方もよくわかりません 3
Agenda 1. CKKS a. Encode/Decode b. Key Generation c. Encryption/Decryption
e. Addition/Multiplication 2. OpenFHE 3. デモ 4
格⼦暗号 準同型暗号 CKKS たくさん たくさん CKKS Leveled Homomorphic Encryption の一つ
(Fully Homomorphic Encryptionと する時もある) Ring Learning with Errorに基づいた 安全性 バッチ処理ができる 近似計算を行う 複素数とか扱えるから機械学習向き 5
CKKS-Encode/Decode Encode Decode : : 6
CKKS-Key Generation : からN個をランダムにとってそれを係数とする多項式 : 整数係数多項式の係数を で割った余り : 小さい乱数を係数としたN次多項式(離散型正規分布) 秘密鍵(
), 公開鍵( ) 7
CKKS-Encryption/Decryption Encryption : 平文 : からN個をランダムにとってそれを係数とする多項式 : 小さい乱数を係数としたN次多項式(離散型正規分布) 8
CKKS-Encryption/Decryption Decryption : 暗号文 はそれぞれ小さい係数の多項式なので無視できる. 9
CKKS-Flow Message: Plaintext: Ciphertext: Ciphertext: Plaintext: Message: encode encrypt decrypt
decode a composition of homomorphic operations: - - is limit of the number of multiplication - for 10
CKKS-Addition/Multiplication Addition の暗号文を とする. 通常の復号と同様, 11
CKKS-Addition/Multiplication Multiplication の暗号文を とする. ここで とする. 12
OpenFHE https://www.openfhe.org/ C++で実装されている(公式のpython wrapperもある) CKKSの他にBGV, BFVが実装されている OpenFHE is an open-source
project that provides efficient extensible implementations of the leading post-quantum Fully Homomorphic Encryption (FHE) schemes. “ “ 13
デモ デモを見せるのが早いので Let's go demo. 14
参考文献 [1]. Cheon, J.H., Kim, A., Kim, M., Song, Y.
(2017). Homomorphic Encryption for Arithmetic of Approximate Numbers. In: Takagi, T., Peyrin, T. (eds) Advances in Cryptology – ASIACRYPT 2017. ASIACRYPT 2017. Lecture Notes in Computer Science(), vol 10624. [2]. 準同型暗号CKKSその2 エンコードとデコード [3]. 準同型暗号CKKSその3 暗号化・復号と演算 15