Home > Crypto > Rings

This page doubles as a personal reference for MathJax commands

What is a Ring?

A Ring is a set of integers ($\Bbb Z$) with a size ($m$).

\[\Bbb Z_m = \{ 0,1,2,\dots m-1 \}\]

Rings have associated Operators with special rules.

For all $a,b\in \Bbb Z_m$:

Properties of Rings

Closure

Note that $c,d \in \Bbb Z_m$

Associative

Identity

Inverse

Note that $a^{-1}$ only exists when $\gcd (a, m)=1$

You can find $a^{-1}$ with the extended euclidean algorithm