klefki.crypto.MiMC
¶
Ref: https://byt3bit.github.io/primesym/mimc/ Ref: https://eprint.iacr.org/2016/492.pdf
Module Contents¶
Classes¶
-
class
klefki.crypto.MiMC.
MiMC
(field, r)¶ -
static
F
(x, k, c)¶
-
encrypt
(self, x, k, r=None)¶
-
property
r1cs
(self)¶
-
E
(self, *args, **kwargs)¶
-
property
constants
(self)¶
-
static
-
class
klefki.crypto.MiMC.
FeistelMiMC
(field, r)¶ Bases:
klefki.crypto.MiMC.MiMC
-
static
F
(x, y, k, c)¶
-
encrypt
(self, x, y, k, r=None)¶
-
property
r1cs
(self)¶
-
static