Module hash_to_field

Source
Expand description

This module implements hash_to_field and related hashing primitives for use with BLS signatures.

Structs§

ExpandMsgXmd
Placeholder type for implementing expand_message_xmd based on a hash function
ExpandMsgXof
Placeholder type for implementing expand_message_xof based on a hash function

Traits§

BaseFromRO
Generate an element of a base field for a random string of bytes (used by FromRO for extension fields).
ExpandMsg
Trait for types implementing expand_message interface for hash_to_field
FromRO
Generate a field element from a random string of bytes

Functions§

hash_to_field
hash_to_field for type T using ExpandMsg variant X