Crate hash2field[][src]

Expand description

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

ExpandMsg

Trait for types implementing expand_message interface for hash_to_field

FromOkm

The trait for helping to convert to a scalar

Functions

hash_to_field

Convert an arbitrary byte sequence according to https://tools.ietf.org/html/draft-irtf-cfrg-hash-to-curve-11#section-5.3