Home Manual Reference Source

Overview

Installation

Can be managed using yarn, npm, or jspm.

yarn

yarn add @arithmetic-operations-for/integers-modulo-n-big-endian

npm

npm install @arithmetic-operations-for/integers-modulo-n-big-endian --save

jspm

jspm install npm:@arithmetic-operations-for/integers-modulo-n-big-endian

Usage

Import the library where needed

const { Montgomery } = await import( '@arithmetic-operations-for/integers-modulo-n-big-endian' ) ;
// or
import { Montgomery } from '@arithmetic-operations-for/integers-modulo-n-big-endian' ;

Examples

More examples in the test files.