A convenient library for encrypting strings with simple encryption methods
$ npm install simple-ciphers
const ciphers = require('simple-ciphers');
let someText = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.';
binText = ciphers.bin_encrypt(someText);
caesarText = ciphers.caesar_encrypt(someText, 7);
morseText = ciphers.morse_encrypt(someText)
textBin = ciphers.bin_decrypt(binText);
textCaesar = ciphers.caesar_decrypt(caesarText, 7);
textMorse = ciphers.morse_decrypt(morseText)
Of course, you can use several ciphers sequentially. For example, first encrypt the text using the Caesar cipher, then turn it into a binary representation, and only then into Morse code, such a cipher will be more difficult to crack.