Mobile Cipher crypto library written in clean TypeScript
There are a lot of crypto libs in JS around, but I needed a clean, lightweight, reliable, fast and simple lib for mobile devices in TypeScript. That's mipher.
A collection of common crypto algorithms, optimized for speed, security and size.
Uint32Arrayas message/data types
Import the mipher module as
mipher and create your according crypto object:
import * as mipher from 'mipher'; let aes = new mipher.AES(); let ct = aes.encrypt(key, pt);
mipher is using the mocha test suite for testing.
To do all tests just run
npm run test.
If you find any bugs, have any comments, improvements or suggestions:
git checkout -b my-new-feature)
git commit -am 'Add some feature')
git push origin my-new-feature)
mipher is written under the MIT license.