Crate cry[][src]

Cry is a advance cryptography library based on ECC and permutation.

Primitive for Cry.

Cry has two main cryptography primitive:

We can use these two primitive to build all the world of cryptography.

Elliptic Curve

Elliptic Curve has two type of data, point and scalar number. These define on $G_p$, $p$ is a prime number, also is number of elements.

Point $G$ will persent by uppercase letter. scalar number $a$ will persent by lowercase letter.

All support operator:

Sponge Construction

Sponge construction is a base of permutation cryptography. It can absorb data, squeeze data, or blender state.

We can use this to build hash function and symmetric encryption.

Modules

dh
keypair
primitive

Define primitives for cry.

ristretto255
schnorr

Schnorr signature and schnorr multi-signature.