Curvy.Util (Curvy v0.3.1) View Source
Utility module for common and shared functions.
Link to this section Summary
Functions
Decodes the given binary with the specified encoding scheme.
Encodes the given binary with the specified encoding scheme.
Invert operation.
Inverse power operation.
Modulo operation. Returns the remainder after x is divided by n.
Link to this section Functions
Specs
Decodes the given binary with the specified encoding scheme.
Accepts :base64
or :hex
, or will return the binary as is.
Specs
Encodes the given binary with the specified encoding scheme.
Accepts :base64
or :hex
, or will return the binary as is.
Specs
Invert operation.
Inverse power operation.
Specs
Modulo operation. Returns the remainder after x is divided by n.