1.2.3 • Published 5 years ago

gauss-jacques v1.2.3

Weekly downloads
2
License
ISC
Repository
github
Last release
5 years ago

Gauss - Jacques

Method to obtain modular inverse matrices sized n x n considering computational efficiency and applications in symmetric cryptography. It is also discussed about some phenomenon in linear arithmetic spaces and some theorems found. This work is an important contribution to knowledge and direct appliance in data security problems in computer science context. Based on research and experiments conducted, it was observed that this method is precise, defined and finite, so it can be programmed in any computer language.

The proposed Gauss-Jacques method to obtain modular inverse matrices variable sized without a theoretical limit.

Installation

This is a Node.js module.

Installation is done using the npm install command:

    npm i gauss-jacques

Example of use

// Import the module
const GaussJacques = require( 'gauss-jacques' );

// Let K a (N x N) matrix
let K =
    [ [ 42, 97, 23 ],
    [ 51, 30, 77 ],
    [ 33, 7, 66 ] ];

// Let m a prime number, referred as modulo.
const m = 89;

// Calculate the inverModular of K
let invK = GaussJacques.inverseModular( K, m );

// result:
console.log(invK);

    [ [ 79, 85, 54 ], 
    [ 56, 20, 3 ], 
    [ 53, 70, 59 ] ];

The main function is:

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Authors

1.2.3

5 years ago

1.2.2

5 years ago

1.2.1

5 years ago

1.2.0

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.0.1

5 years ago