cryptosubtlety / intuitive-advanced-cryptography Goto Github PK
View Code? Open in Web Editor NEWIntuitive Advanced Cryptography
Intuitive Advanced Cryptography
popular mixing color approach
https://cse.sc.edu/~farkas/csce522/lectures/test1/With%20Math%20-%20Diffie-Hellman%20Rick.ppt
probably need to add it into your notes as well.
Hello,
In the lattice section, the coefficient modulus (q) is always stated to be prime (I guess it was taken from the shell implementation), but it does not need to be prime. It can in fact be any integer as long as it is smaller than the maximum bitsize for a given ring degree to ensure security.
Being prime has no effect on the security at all (although from recent research the structure of Q might lead to very efficient quantum attacks). It can however enable more efficient implementations (like RNS representation and the usage of the NTT) and sometime you do not want it to be prime, for example the official HEAAN implementation use q = 2^s (a power of two).
"The smallest number n for which nX = 0 is called the order of X."
If n is the identity (for example 0) then nX also equals 0 but the order of the group is not 0.
Hi Quan,
In section 9 (page 14), you wrote:
The pairing that we use has a few nice properties such as:
e(P + Q, R) = e(P, R) + e(Q, R) and e(a.P, b.Q) = e(P, Q)^(a*b)
Maybe you meant:
e(P + Q, R) = e(P, R) * e(Q, R) and e(a.P, b.Q) = e(P, Q)^(a*b)
, as ^
denotes repeated *
.e(P + Q, R) = e(P, R) + e(Q, R) and e(a.P, b.Q) = e(P, Q).(a*b)
, as .
denotes repeated +
.Hey Quan, great note! It is always better to understand things under intuitive approach. I'm having a feedback while reading it.
In the Field section, you may miss the definition of multiplication. Without it, we don't have any clues how to do P1(x) โ P2(x) in 2.4 Polynomial modulus section. Or without definition, how do we understand an element multiply with another element?
``
Do I miss it somewhere?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.