# Learning With Errors (LWE) and Ring LWE

Published in

4 min readApr 7, 2019

--

The method describing LWE is defined here.

Learning With Errors (LWE) is a quantum robust method of cryptography. It is also used within homomorphic encryption. Initially we create a secret key value (s) and another value (e). Next we select a number of values (A[]) and calculate B[] = A[] x s + e. The values of A[] and B[] become our public key. If s is a single value, A and B are one…