์ „์ฒด ๊ธ€ 52

[์ด๋”๋ฆฌ์›€ ๋ธ”๋ก์ฒด์ธ ๊ฐœ๋ฐœ] Solidity_Simple Variables

๊ฐ•์˜์ž๋ฃŒ : https://ethereum-blockchain-developer.com/010-solidity-basics/01-integers/ (Unsigned) Integer Boolean Overflow and Underflow Address Types Strings (Unsigned) Integers - ๋ชจ๋“  ๋ณ€์ˆ˜ ์œ ํ˜•๊ณผ ์ƒ๊ด€์—†์ด ๊ธฐ๋ณธ๊ฐ’์œผ๋กœ ์ดˆ๊ธฐํ™” - ์˜ค๋ฅ˜๋‚˜ ์ •์˜๋˜์ง€ ์•Š์€ ๊ฐ’์ด๋‚˜ null๊ฐ’ ์–ป์„ ์ˆ˜ ์—†์Œ - uint = uint256 - setMyuint ์—์„œ ์„ค์ • ํ•œ ๊ฐ’ myUint์— ๋ฐ˜์˜ / ex.5 Boolean - Boolean ๊ฐ’์œผ๋กœ ์Šค๋งˆํŠธ ์ปจํŠธ๋ž™ํŠธ ์—ฐ์žฅ - Boolean : true or false ๋‘๊ฐ€์ง€ ๊ฐ’๋งŒ ๊ฐ€์ง - ์žฌ๊ณ„์•ฝ - ๊ธฐ๋ณธ๊ฐ’ : false - setMyBool : true..

[๋…ผ๋ฌธ ์ •๋ฆฌ] Anonymous Credentials

Paper : Delegatable Anonymous Credentials from Mercurial Signatures 1. ์†Œ๊ฐœ - Anonymous credential(์ต๋ช… ํฌ๋ฆฌ๋ด์…œ) : ์ต๋ช… ํฌ๋ฆฌ๋ด์…œ์ด user(์‚ฌ์šฉ์ž)๊ฐ€ issure(๋ฐœ๊ธ‰์ž) ๊ฐ€ ๋ฐœ๊ธ‰ํ•œ '์ž๊ฒฉ์ฆ๋ช… ์ง‘ํ•ฉ์˜ ์†Œ์œ ' ์ฆ๋ช… ๊ฐ€๋Šฅ ํ•˜๊ฒŒ ํ•จ - anonymous(์ต๋ช…์„ฑ) : user(์‚ฌ์šฉ์ž)์˜ ์ฆ๋ช…์ด ์˜์ง€์‹, ์ž๊ฒฉ์ฆ๋ช… ์ต๋ช…์œผ๋กœ ์–ป์„ ์ˆ˜ ์žˆ์Œ. ; issure๊ฐ€ ์ž๊ฒฉ์ฆ๋ช… ๋ฐœ๊ธ‰์‹œ์— user์˜ ์‹ ์› ์•Œ ํ•„์š” ์—†์Œ. - ๊ธฐ์กด ์ต๋ช… ํฌ๋ฆฌ๋ด์…œ ๋ฌธ์ œ ์ ‘๊ทผ ๊ถŒํ•œ ์ œ๊ณต์ž๊ฐ€ issure์˜ ๊ณต๊ฐœํ‚ค ์•Ž -> user์˜ ์ •๋ณด ๋“œ๋Ÿฌ๋‚จ user์˜ ๊ฐœ์ธ์ •๋ณด ๋ณดํ˜ธ๊ฐ€ ๋˜์ง€ ์•Š์Œ. - ์œ„์ž„ ๊ฐ€๋Šฅํ•œ ์ต๋ช… ํฌ๋ฆฌ๋ด์…œ ... [ ์ƒํ™ฉ ] - CA ->(์ž๊ฒฉ์ฆ๋ช… ๋ฐœ๊ธ‰๋ฐ›์Œ) Alice..

[์ด๋”๋ฆฌ์›€ ๋ธ”๋ก์ฒด์ธ ๊ฐœ๋ฐœ] ๋ธ”๋ก์ฒด์ธ ๋…ธ๋“œ

๊ฐœ๋ฐœ ๋ฆฌ๋ฏน์Šค ; Environment Injected Web3 : ๋ฉ”ํƒ€๋งˆ์Šคํฌ ๊ณ„์ • ์‚ฌ์šฉ JavaScript VM ์„ค์ • : ๋ฐ”๋กœ ๊ณ„์ • ๋ฐ”๋€Œ๋Š” ๊ฑฐ ํ™•์ธ ๊ฐ€๋Šฅ ** ์‹ ์› ๋ฐ”๊ฟ”์„œ ๋‹ค๋ฅธ์‚ฌ๋žŒ์ธ ์ฒ™ ๊ณ„์•ฝ ๋ฐฐํฌ ๊ฐ€๋Šฅ.. ๋‹ค์Œ ์˜์ƒ ๊ฐ€๋‚˜์Šˆ (์™ธ๋ถ€ ๋…ธ๋“œ) ์„ค์น˜ : https://trufflesuite.com/ganache/ Home - Truffle Suite SIGN UP FOR THE TRUFFLE MAILING LIST Sign up today to be a member of the Truffle mailing list. You'll be added to our low volume mailing list which we'll use to communicate future changes, development idea..

[์ด๋”๋ฆฌ์›€ ๋ธ”๋ก์ฒด์ธ ๊ฐœ๋ฐœ] ์Šค๋งˆํŠธ ์ปจํŠธ๋ž™ํŠธ ๋ฐฐํฌ

๊ฐ•์˜ ์˜์ƒ - Solidity๋ฅผ ์‚ฌ์šฉํ•œ ์ด๋”๋ฆฌ์›€ ๋ธ”๋ก์ฒด์ธ ๊ฐœ๋ฐœ์ž ๋ถ€ํŠธ์บ ํ”„ (2022) : https://www.udemy.com/course/solidity-ethereum-bootcamp/learn/lecture/31207252#questions ๊ฐ•์˜ ์ž๋ฃŒ : https://ethereum-blockchain-developer.com/003-first-smart-contract/01-setup-remix/ ์†”๋ฆฌ๋””ํ‹ฐ : https://remix.ethereum.org/ Remix - Ethereum IDE remix.ethereum.org ๊ฐœ๋ฐœ - pragma solidity ^0.8.1; : ์†”๋ฆฌ๋””ํ‹ฐ ๋ฒ„์ „ ์„ค์ • - ๋ฐฐํฌ์™€ ํŠธ๋žœ์žญ์…˜ ์‹คํ–‰ํƒญ Injected Web3 ์„ ํƒ : ๋ฉ”ํƒ€๋งˆ์Šคํฌ ๋ฆฌ๋ฏน์Šค ID ์—ฐ๊ฒฐ /..

[์•”ํ˜ธ๊ตฌํ˜„] AES

** ๊ตฌํ˜„์€ ์—ฐ์Šต์ค‘์ด๋‹ˆ ์ฐธ๊ณ ํ•˜์ง€ ๋งˆ์„ธ์š” [ ๊ตฌ์กฐ ] - SPN ๊ตฌ์กฐ ์•ˆ์ „์„ฑ ํŒŒ๋ผ๋ฏธํ„ฐ ํ‚ค ๊ธธ์ด ๋ธ”๋ก ํฌ๊ธฐ ๋ผ์šด๋“œ ์ˆ˜ 128 128 128 10 192 192 192 12 256 256 256 14 - AES๋Š” 128์„ ์ฃผ๋กœ ์“ด๋‹ค ํ•จ. SubByte - ์ž…๋ ฅ๊ฐ’์„ ๋ฐ”์ดํŠธ ๋‹จ์œ„๋กœ ์ชผ๊ฐฌ - 128๋น„ํŠธ = 16 ๋ฐ”์ดํŠธ - state : 16byte -> 4byte x 4byte ํ–‰๋ ฌ๋กœ ํ‘œํ˜„ - S-box ์—ฐ์‚ฐ (ํ…Œ์ด๋ธ” ์ฐธ์กฐ) ShiftRow - state ๊ฐ’์˜ ๊ฐ ํ–‰์„ ์‹œํ”„ํŠธ ์—ฐ์‚ฐ MixColumn - state ๊ฐ’์˜ ๊ฐ ์—ด์— 4x4 ํ–‰๋ ฌ์„ ๊ณฑํ•ด์ฃผ๋Š” ์—ฐ์‚ฐ AddRoundKey - ๋ผ์šด๋“œ ํ‚ค ๊ฐ’์„ ๊ฐ ๋ฐ”์ดํŠธ์— xor ํ•ด์คŒ AES KeySchedule - 128bit ํ‚ค -> 4byte word๋กœ ์ชผ๊ฐฌ (4๊ฐœ) - R..

[์ด๋”๋ฆฌ์›€ ๋ธ”๋ก์ฒด์ธ ๊ฐœ๋ฐœ] ๋ธ”๋ก ์—ฐ๊ฒฐ ๋ฐฉ์‹

๊ฐ•์˜ ์˜์ƒ - Solidity๋ฅผ ์‚ฌ์šฉํ•œ ์ด๋”๋ฆฌ์›€ ๋ธ”๋ก์ฒด์ธ ๊ฐœ๋ฐœ์ž ๋ถ€ํŠธ์บ ํ”„ (2022) : https://www.udemy.com/course/solidity-ethereum-bootcamp/learn/lecture/31207252#questions ๊ฐ•์˜ ์ž๋ฃŒ : https://ethereum-blockchain-developer.com/002-first-transaction/02-transfer-ether/ web3js : https://web3js.readthedocs.io/en/v1.2.11/web3-eth.html#sendtransaction ์ด๋”์Šค์บ” : https://etherscan.io/ Ethereum (ETH) Blockchain Explorer Etherscan allows you to ..

[์ด๋”๋ฆฌ์›€ ๋ธ”๋ก์ฒด์ธ ๊ฐœ๋ฐœ] ์ด๋”๋ฆฌ์›€ ํŠธ๋žœ์žญ์…˜, ํŠธ๋žœ์žญ์…˜ ์„œ๋ช…

๊ฐ•์˜ ์˜์ƒ - Solidity๋ฅผ ์‚ฌ์šฉํ•œ ์ด๋”๋ฆฌ์›€ ๋ธ”๋ก์ฒด์ธ ๊ฐœ๋ฐœ์ž ๋ถ€ํŠธ์บ ํ”„ (2022) : https://www.udemy.com/course/solidity-ethereum-bootcamp/learn/lecture/31207252#questions ๊ฐ•์˜ ์ž๋ฃŒ : https://ethereum-blockchain-developer.com/002-first-transaction/02-transfer-ether/ web3js : https://web3js.readthedocs.io/en/v1.2.11/web3-eth.html#sendtransaction web3.eth — web3.js 1.0.0 documentation The web3-eth package allows you to interact with ..