NAME

asn_mod - one arbitrary size number modulo another

SYNOPSIS

string asn_mod(string a, string m)

DESCRIPTION

Compute a modulo m.  The modulus must be larger than zero.
Arbitrary size numbers are encoded as strings, most significant byte
first.  The most significant bit in the first byte, when set, indicates
that the number is negative and encoded in two's complement.

ERRORS

An error will result if the modulus is less than or equal to zero.

SEE ALSO