Multi Crypto is a node lib to cryptography text, encrypt and decrypt, but, how i can use it? Simple:
npm install multi-crypto
and
const multiCrypto = require('multi-crypto')
//for example, enconding a text to binary
const MyText = multiCrypto.encryptBinary('This is my text')
//and Decrypt binary
const MyBinary = multiCrypto.DecryptBinary(
1010100 1101000 1101001
1110011 100000 1101001
1110011 100000 1101101
1111001 100000 1110100
1100101 1111000 1110100
)
multiCrypto.encryptBinary(text)
multiCrypto.DecryptBinary(binary)
multiCrypto.encryptMorse(text)
multiCrypto.DecryptMorse(morse)
multiCrypto.encryptCeaser(text)
multiCrypto.bruteDecryptCeaser(text) // for show all possibilities
multiCrypto.encryptAtBash(text)
multiCrypto.decryptAtBash(text)
multiCrypto.encryptAffine(text, a, b) // a and b are numbers, like a = 5 and b = 7
multiCrypto.decryptAffine(text, a, b) // a and b are numbers, like a = 5 and b = 7
multiCrypto.encryptAutoKey(text, key) // key must be a string
multiCrypto.decryptAutoKet(text, key) // key must be a string
multiCrypto.encryptBaconian(text, alphabet) // the default alphabet is ABCDEFGHIKLMNOPQRSTUWXYZ
multiCrypto.decryptBaconian(text, alphabet) // the default alphabet is ABCDEFGHIKLMNOPQRSTUWXYZ
multiCrypto.encryptBase64(text)
multiCrypto.decryptBase64(base64Text)
multiCrypto.encryptViginere(text, key) // key is like "abc"
multiCrypto.decryptViginere(text, key) // key is like "abc"
multiCrypto.encryptRailFence(text, key) // key is a number, like 3
multiCrypto.decryptRailFence(text, key) // key is a number, like 3
multiCrypto.encryptSimpleSubstitution(text, alphabet)
multiCrypto.decryptSimpleSubstitution(text, alphabet)
// alphabet is like "dynoutmperlqbcwzvsagjfxikh"
multiCrypto.encryptColumnarTransposition(text, key, padChar='x') // padChar is a letter, like "x"
multiCrypto.decryptColumnarTransposition(text, key) // you dont have to put padChar
multiCrypto.encryptPorta(text, key) // key is a word
multiCrypto.decryptPorta(text, key) // key is a word
multiCrypto.encryptHill(text, key) // key should be 4 numbers, like "5 17 4 15" in a string
multiCrypto.decryptHill(text, key) // key should be 4 numbers, like "5 17 4 15" in a string
multiCrypto.encryptFourSquare(text, key1, key2)
multiCrypto.decryptFourSquare(text, key1, key2)
// the keys should be alphabets, like "zgptfoihmuwdrcnykeqaxvsbl" and "mfnbdcrhsaxyogvituewlqzkp"
multiCrypto.encryptPlayfair(text, keysquare)
multiCrypto.decryptPlayfair(text, keysquare)
// keysquare must be a alphabet, like:
"monarchybdefgiklpqstuvwxz"
multiCrypto.encryptAdfgvx(text, keysquare, keyword)
multiCrypto.decryptAdfgvx(text, keysquare, keyword)
// keysquare should have all letters and numbers (0 - 9)
// keyword is any word, like "BRAZIL"
multiCrypto.encryptAdfgx(text, keysquare, keyword)
multiCrypto.decryptAdfgx(text, keysquare, keyword)
// keysquare should have all letters execept "j"
// the key word is any word, like "BRAZIL"
multiCrypto.encryptBifid(text, keysquare, peorid)
multiCrypto.encryptBifid(text, keysquare, peorid)
// keysquare should be all letters exepect "j", it is merged with a letter i
// peorid should be a number, like 5
NPM Page: https://www.npmjs.com/package/multi-crypto
GitHub: https://github.com/edersonferreira/multi-crypto
Created with love by Ederson Ferreira (Brazil) 💚