楕円曲線暗号

楕円曲線暗号

by yukku

👁 1,747 ❤️ 114 ⭐ 106 🔄 1
Created: Sep 29, 2022 Last modified: Feb 7, 2024 Shared: Oct 14, 2022

Instructions

楕円曲線を利用した暗号です。 Scratchのプロジェクトの中ではトップレベルの安全性があると思います。 __ 簡単な使い方 _____________ ・公開鍵生成 この方法で暗号化するためには「公開鍵」というものが必要です。これはメールアドレスのようなもので、パスワードを基に生成されます。 ・暗号化 暗号化します。送りたい相手の公開鍵が必要になります。これで作った暗号は宛先の公開鍵のパスワードを知っていないと解読できないようになってます。 ・復号 暗号文を復号します。ここで公開鍵を作るときに使ったパスワードが必要になります。 __ 暗号方式の詳細 ____________ 楕円曲線のパラメータはsecp256k1です。 ・公開鍵生成 パスワードをSHA256に通したものを秘密鍵として、ベースポイントに秘密鍵を掛けたもの ( のx座標 ) が公開鍵になります。 ・暗号化 一時的に生成した「公開鍵と秘密鍵のペア」と宛先の公開鍵でECDHをして、共有鍵を生成します。 共有鍵をSHA256に入れたものを16bitごとに分割し、1文字ずつ平文と足したものが暗号文です。 ( 平文が17文字以上の場合は、共有鍵を1つづつ増やし、それぞれをSHA256にかけて連結して長くします。) また、一時的に生成された公開鍵が文字列の先頭について出力されます。 ・復号 ↑の暗号化をしたものが復号できるようにいい感じに処理します。 __ 雑記 _________________ 私 ( Yukkku ) の公開鍵はこれです。 怳髥㛋䞇焆爵诐噖똴럒䅠㔴뢉篰酡桓縢㐀 私にメッセージ送りたい場合はこれを使ってください。

Project Details

Visibility
Visible
Comments
Enabled

More Cool Projects

Project thumbnail
View Project

Bob and Bosip FNF Test (mega remix) [berry engine]

by berrybn_gamer75

Project thumbnail
View Project

Jebus yikes

by -TheGreatMarxSoul-

Project thumbnail
View Project

Ants... #Animations #Trending #All

by HighTierMortal

Project thumbnail
View Project

AY in Blame N' Flame DELUXE [ Remix 20 | 40 Players ] remix

by Noob_boi14

Project thumbnail
View Project

Beat up Sonic (REMADE) remix

by doheodjeoud

Project thumbnail
View Project

Sprunki but Alphabet Lore

by RedLynxXD

Project thumbnail
View Project

Unicode Folks: U+0023 (#)

by tvokids_e-again

Project thumbnail
View Project

MGM Logo on Scratch

by SonicIsPJ_10

Project thumbnail
View Project

GEOMETRY DASH || platformer 2.5

by -Katana_Gaming-

Project thumbnail
View Project

Possibly the Nickelodeon Creatures’ Names

by CB3029-X

Project thumbnail
View Project

Double Dragon - DEMO, READ INFO

by scratchmasta5

Project thumbnail
View Project

Beat Up Scratch Cat! (Added evil random 10x and every button) remix-2 remix

by MyCottage

Project thumbnail
View Project

Car Anatomy™ quad bike Poppy Rowan rainbow high

by Lmia2017

Project thumbnail
View Project

Steps to Make A Blockshades

by Aayushi2008

Project thumbnail
View Project

Super Mario Maker Can Can

by barrystreakfires

Project thumbnail
View Project

Beat up Giga DLC remastered remix

by lol13514

Project thumbnail
View Project

35 scratch cat “meow” variations

by toonyreddyeh90909

Project thumbnail
View Project

Black hole simulation

by mikeyaboy

Project thumbnail
View Project

Flush the Cat!

by cs3325807

Project thumbnail
View Project

偽メメ村用日本語版アモングアスMOD2 v1.8

by fujisan223

Project thumbnail
View Project

Scratch or Turbowarp? v0.1

by AmongUs9276

Project thumbnail
View Project

ultra numberblocks night(my version)(alpha beta 0.1)

by Supercoolgamer15

Project thumbnail
View Project

Beat Up Super WHY! 3

by MichaelLopez832

Project thumbnail
View Project

BFB/TPOT Contestant Generating Game But It's Unreal BFDI

by Lime549