wz-crypt

Encrypt or Decrypt string by base64, md5, etc.

Usage no npm install needed!

<script type="module">
  import wzCrypt from 'https://cdn.skypack.dev/wz-crypt';
</script>

README

wz-crypt

Intro


  1. Use BASE64 code to encrypt or decrypt string
  2. Use MD5 code to encrypt string

Installation


npm install wz-crypt

Usage


const Encryption = require('wz-crypt');

const result1 = Encryption.encodeMD5(string);
const result2 = Encryption.encodeBase64(string);
const result3 = Encryption.decodeBase64(string);