square-and-multiply

    1.0.4 • Public • Published

    square-and-multiply

    Get the square and multiply of the base, the exponent and the modulus

    Installation

    $ npm install square-and-multiply
    

    Usage

    const squareAndMultiply = require('square-and-multiply');
    
    console.log(squareAndMultiply(14, 27, 37));
    // => 6

    API

    squareAndMultiply(base, exponent, modulus)

    Returns the square and multiply of base, exponent and modulus.

    Related

    License

    MIT © Knut Kirkhorn

    Install

    npm i square-and-multiply

    DownloadsWeekly Downloads

    1

    Version

    1.0.4

    License

    MIT

    Unpacked Size

    4.76 kB

    Total Files

    8

    Last publish

    Collaborators

    • knutkirkhorn