baser64

2.0.17 • Public • Published

License: UCOP v3

Stand 04102018

Current features:

  • Encrypt strings with base64
  • Decrypt string with base64

Setup for the project

Download the module with the command: npm install --save baser64

Import the module with:

const baser64 = require('baser64');

License: UCOP v3

Important Notice

This package is a extension package for the lsj npm package
https://www.npmjs.com/package/lsj

Providing a own Hash file

The own hash file is not required but recommended because we're changing the hash key on every 25th a month. The old key can be requested by email or issue ticket.

nodejs@zombymedia.com

If you want to use a own hash that effects the encryption please create a file in your main project:

/src/mmdH.xv

This file type doesn't require any special kind of formating. But the hash the length of the hash has to be at least 1024 character long.

encryption usage

var text = "The text you want to use";
 
var enc = baser64.encode(text);

decryption usage

var text = "ENCRYPTED MESSAGE";
 
var dec = baser64.decode(text);

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i baser64

    Weekly Downloads

    3

    Version

    2.0.17

    License

    ISC

    Unpacked Size

    12.5 kB

    Total Files

    5

    Last publish

    Collaborators

    • zombymediaic