Post
Topic
Board Beginners & Help
Merits 28 from 16 users
Topic OP
[LEARN] LOGIC GATES and chance to earn merit.
by
Peanutswar
on 21/07/2020, 05:02:23 UTC
⭐ Merited by suchmoon (4) ,vapourminer (3) ,DdmrDdmr (2) ,Halab (2) ,Heisenberg_Hunter (2) ,hugeblack (2) ,Ratimov (2) ,Debonaire217 (2) ,Csmiami (2) ,Daniel91 (1) ,ryzaadit (1) ,pooya87 (1) ,Maus0728 (1) ,NotATether (1) ,Alucard1 (1) ,HideOut (1)
As you can see there are a lot of people seeing the word NOT, AND, NAND, OR, NOR, XOR,and  XNOR most of the time in cryptography and some of them are listed into the different cypher, now I want to share how to use this logic gates that can use into your encryption and also use to the world of blockchain. Also you can check this out if you want to learn more

Code:
Title : Implementing logic gate functionality using a blockchain
https://patents.google.com/patent/WO2017187399A1/en

NOT Gate



NOT is just basically reversing the value/s of the given problem

A|X
0|1

Example :
A|X
11010101|01101010



OR GATE
When there is a true value (1) the answer becomes true



A|B|X
110|101|111|

Example :
A|B|X
00110011|10011001|10111011



NOR GATE
When there is a true value (1) the answer becomes false



A|B|X
110|101|000|

Example :
A|B|X
00110011|10011001|01000100



AND GATE
When there is a false value (0) the answer becomes false


A|B|X
011|110|010|

Example :
A|B|X
10101100|10001100|10001100



NAND GATE
When there is a false value (0) the answer becomes true



A|B|X
011|110|101|

Example :
A|B|X
10101100|10001100|01110011





XOR GATE
When there is a two same value  the answer becomes false.



A|B|X
011|110|101|

Example :
A|B|X
10101100|10001100|00100000



XNOR GATE
When there is a two same value  the answer becomes true.



A|B|X
011|110|010|

Example :
A|B|X
10101100|10001100|11010000



Now here is the challenge for the 10x newbies up to Jr. member you can earn one (1) merit if you answer all of this problem.




OR
A
B
00011001
00011010
NOR
A
B
10110011
01001100
XNOR
A
B
10001101
11111111





To the people get curious how do I make those logic gates you can use this platform, there are a lot of use this too like making a diagram for data flow/data chart.
Code:
draw.io