Documentation ¶
Index ¶
Constants ¶
View Source
const Size = sha256.Size
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ChameleonHash ¶
func ComputeCollision ¶
func ComputeCollision(Y curve.Point, x, r, m, mp, q *big.Int) (ChameleonHash, *big.Int, curve.Point)
ComputeCollision computes an instance of collision of the given chameleon hash.
func ComputeHash ¶
func ComputeHash(Y, R curve.Point, m *big.Int) ChameleonHash
ComputeHash computes the chameleon hash.
func (ChameleonHash) Equals ¶
func (ch ChameleonHash) Equals(target ChameleonHash) bool
func (ChameleonHash) String ¶
func (ch ChameleonHash) String() string
Click to show internal directories.
Click to hide internal directories.