1 parent
350c8e969a
commit
8660636796
1 file changed
+11
-1
@@ -76,6 +76,8 @@ im not writing the rest of ts down. aint no way son
|
|||||||
|
|
||||||
diagram ahh. i aint do Ts.
|
diagram ahh. i aint do Ts.
|
||||||
|
|
||||||
|
view the [code](decoding_block_modes.py) if the diagrams are confusing
|
||||||
|
|
||||||
### cipher block chaining (CBC)
|
### cipher block chaining (CBC)
|
||||||
|
|
||||||
$$
|
$$
|
||||||
@@ -160,6 +162,8 @@ two kinds apparently. idk
|
|||||||
|
|
||||||
Ts is for encrypting a Thing knowing Some.
|
Ts is for encrypting a Thing knowing Some.
|
||||||
|
|
||||||
|
some of it in [proto_rsa.py](proto_rsa.py)
|
||||||
|
|
||||||
### uhh
|
### uhh
|
||||||
|
|
||||||
get urself two prime p, q.
|
get urself two prime p, q.
|
||||||
@@ -186,6 +190,10 @@ for dec: $C^d \equiv M \pmod N$
|
|||||||
|
|
||||||
for establishing the first of connections
|
for establishing the first of connections
|
||||||
|
|
||||||
|
some of it in [proto_dhke.py](proto_dhke.py)
|
||||||
|
|
||||||
|
### hwo
|
||||||
|
|
||||||
get yourself and peers to agree on a prime p, generator g.
|
get yourself and peers to agree on a prime p, generator g.
|
||||||
|
|
||||||
your key is a.
|
your key is a.
|
||||||
@@ -210,6 +218,8 @@ for authentication. is this really you type shit.
|
|||||||
|
|
||||||
### elgamal
|
### elgamal
|
||||||
|
|
||||||
|
Ts the OG. some of it at [proto_elgamal.py](proto_elgamal.py)
|
||||||
|
|
||||||
1. setup
|
1. setup
|
||||||
|
|
||||||
get yourself a prime p.
|
get yourself a prime p.
|
||||||
@@ -236,7 +246,7 @@ for authentication. is this really you type shit.
|
|||||||
|
|
||||||
give (r, s) to whoever is gonna verify yo msg
|
give (r, s) to whoever is gonna verify yo msg
|
||||||
|
|
||||||
3. verify x
|
3. verify x with r, s and pubkey
|
||||||
|
|
||||||
get ts to be true:
|
get ts to be true:
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user