Implementation can be found: src/cyclic-redundancy-check.js
Test scenarios can be found: test/test-cyclic-redundancy-check.js
Used Hamming Code (7,4) codewords.
Implementation can be found: src/error-correction-codes.js
Test scenarios can be found test/test-error-correction-codes.js
Used node package MD5.
Finding prime numbers: prime-numbers.js
Generating, encrypting, decrypting: rsa.js
Tests scenarios for Signed RSA Message: test-message-signing.js
Steps tested with MacOS. Running unit tests wont work on windows CMD, but should work in Windows Bash.
- Install NodeJS
- Install project dependencies:
npm install
- Run unit tests:
npm run test
(Mac/Linux)