? Editing: Post:21.body Save Delete Cancel
Content changed Sign & Publish new content

Ivanq's Blog

Posts about encryption, zite development and everything else you want

Follow in NewsfeedFollowing

Latest comments:

Article list

STICKED ·
1 comment
Read more

Integrated Encryption Scheme and MAC

on Apr 29, 2019 · 6 min read

Today, we'll talk about MAC, DLIES and ECIES.

DLIES

The first topic is DLIES, or Discrete Logarithm Integrated Encryption Scheme.

Pretend Alice wants to send a message to Bob. Alice doesn't want others to read the message, so she's going to encrypt it. Let's help Alice!

Read more

Elliptic Curve Diffie-Hellman

on Apr 29, 2019 · 7 min read

Hello! Today I'm going to tell you about ECDH, or Elliptic Curve Diffie-Hellman protocol.

First of all, let's remember what EC means and what DH means.

  1. EC is an Elliptic Curve. You can read about Elliptic Curve arithmetic on this blog. If you don't want to read it, here's an overview: We have some objects (points) which we can add. The usual rules apply, i.e. A+B=B+A,(A+B)+C=A+(B+C)A + B = B + A, (A + B) + C = A + (B + C).

  2. DH is Diffie-Hellman protocol, i.e. a key derivation protocol. You can read about it on this blog as well. An overview: If Alice and Bob have private keys aa and bb they don't share, they can make up some integers GG and MM (GG is any integer, MM is a big prime integer). Then, they generate public keys: A=Gamod  M,B=Gbmod  MA = G^a \mod M, B = G^b \mod M which they give to each other. Then, they generate shared key that they use for symmetric encryption: S=Bamod  M=Abmod  MS = B^a \mod M = A^b \mod M.

Now, we're going to merge these two unmergable things. How? Read here.

Read more

Diffie-Hellman protocol

on Apr 28, 2019 · 4 min read

Hello again!

Today, let's talk about key derivation.

The problem

Pretend Alice and Bob are talking to each other, and they want to encrypt their messages. Of course, encryption requires a key, so they have to find a key somewhere. They could just meet in Alice's house, but... Alice and Bob are a little bit far from each other, so they can't meet directly. They also can't use mail to send the key because it could be compromised, and so on.

Oopsie.

Read more

Introduction into Elliptic Curve arithmetic

on Apr 28, 2019 · 5 min read ·
4 comments

Today, let's talk about Elliptic Curve arithmetic.

Elliptic curves

First of all, what is an elliptic curve? If we're working in R\R field, we can say that an elliptic curve is defined by two real numbers aa and bb that follows the equation:

x2=y3+ax+b
x^2 = y^3 + ax + b

This form is called the Weierstrass equation.

Read more
Add new post

Title

21 hours ago · 2 min read ·
3 comments
Body
Read more

Not found

Title

21 hours ago · 2 min read

0 Comments:

user_name1 day ago
Reply
Body
This page is a snapshot of ZeroNet. Start your own ZeroNet for complete experience. Learn More