Decrypt & encrypt text from punctuation, funky, doesn't it?
Sometimes, people want to talk only with punctuation 😉 So, I created this small tool to decrypt text from punctuation, and vice versa.
-
First thing, setup
npm install wink-encrypt # or yarn add wink-encrypt
-
How to use ?
const winkEncrypt = require('wink-encrypt') console.log(`Welcome to Wink Encrypt == ${winkEncrypt.encodeString('Welcome to Wink Encrypt')}`) console.log(`:"-!!.;!.;?!!!.:"--!!!!.;-!.;?!!!!.;!."?!!.;-?!.;-!."?!!.:"-!!.;?.;-.;?!!."?!!.:-?!!!!.;-.:"--!!!!.;-!!!!.;--!.;-!!.;-?! == ${winkEncrypt.decodeString(':"-!!.;!.;?!!!.:"--!!!!.;-!.;?!!!!.;!."?!!.;-?!.;-!."?!!.:"-!!.;?.;-.;?!!."?!!.:-?!!!!.;-.:"--!!!!.;-!!!!.;--!.;-!!.;-?!')}`)
-
Get browser compliant file
dist/wink-encrypt.min.js
-
Put it into your HTML file
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <script type="text/javascript" src="wink-encrypt.min.js"></script> <script type="text/javascript"> console.log(`Welcome to Wink Encrypt == ${winkEncrypt.encodeString('Welcome to Wink Encrypt')}`) console.log(`:"-!!.;!.;?!!!.:"--!!!!.;-!.;?!!!!.;!."?!!.;-?!.;-!."?!!.:"-!!.;?.;-.;?!!."?!!.:-?!!!!.;-.:"--!!!!.;-!!!!.;--!.;-!!.;-?! == ${winkEncrypt.decodeString(':"-!!.;!.;?!!!.:"--!!!!.;-!.;?!!!!.;!."?!!.;-?!.;-!."?!!.:"-!!.;?.;-.;?!!."?!!.:-?!!!!.;-.:"--!!!!.;-!!!!.;--!.;-!!.;-?!')}`) </script> </head> <body>Hello</body> </html>