tsunammis / wink-encrypt

Encrypt & decrypt text from punctuation, funky, doesn't it?

Home Page:https://stan.life/wink/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

:wink:

😉 Decrypt and encrypt text from punctuation

Decrypt & encrypt text from punctuation, funky, doesn't it?

Why ?

Sometimes, people want to talk only with punctuation 😉 So, I created this small tool to decrypt text from punctuation, and vice versa.

Use with node.js

  1. First thing, setup

    npm install wink-encrypt
    # or
    yarn add wink-encrypt
  2. How to use ?

    const winkEncrypt = require('wink-encrypt')
    
    console.log(`Welcome to Wink Encrypt == ${winkEncrypt.encodeString('Welcome to Wink Encrypt')}`)
    
    console.log(`:"-!!.;!.;?!!!.:"--!!!!.;-!.;?!!!!.;!."?!!.;-?!.;-!."?!!.:"-!!.;?.;-.;?!!."?!!.:-?!!!!.;-.:"--!!!!.;-!!!!.;--!.;-!!.;-?! == ${winkEncrypt.decodeString(':"-!!.;!.;?!!!.:"--!!!!.;-!.;?!!!!.;!."?!!.;-?!.;-!."?!!.:"-!!.;?.;-.;?!!."?!!.:-?!!!!.;-.:"--!!!!.;-!!!!.;--!.;-!!.;-?!')}`)

Use into a browser

  1. Get browser compliant file dist/wink-encrypt.min.js

  2. 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>

About

Encrypt & decrypt text from punctuation, funky, doesn't it?

https://stan.life/wink/


Languages

Language:JavaScript 96.4%Language:Makefile 3.6%