Hash¶
-
class
Hash.ChamHash[source]¶ Bases:
Hash.HashNotes: This class implements an interface for a chameleon hash function. A standard charmeleon hash scheme has two algorithms paramgen and hash. paramgen accepts a security parameter and the length of p and q. Hash accepts public key, label, a message and a random element.