Comment Comment by tomsmeding The method proposed is just A - B mod n. The two are entirely equivalent. parent tomsmeding 10 months ago