Have ideas to improve npm?Join in the discussion! ¬Ľ

    @kernel-js/crypt

    1.0.0¬†‚Äʬ†Public¬†‚Äʬ†Published

    @kernel-js/crypt

    Build Status Coverage Status

    Inspirations

    The main inspiration on my work is PHP Laravel Framework which I love because of its simplicity and beauty of code.

    Why

    First of all I created this to support development of Kernel Framework.
    Just like the rest of the packages that make up the framework, I make the most of other existing libraries that are well tested on a day-to-day basis. The idea is not to reinvent the wheel, just join the ideas in a lightweight framework (the focus is on the client side), simple to use and make the code on the front more beautiful and organized.

    Install

    npm install @kernel-js/crypt

    Helpers

    Custom


    encrypt

    Encrypts a string using aes-256-cbc algorithm.

    encrypt(value, password)
    

    Arguments

    • value - the value to encrypt
    • password - the password used to encrypt and decrypt (keep it safe)
    // Examples
    env('My secret text', 'My strong password');

    Authors

    This library was developed by Gustavo Siqueira, Bruno Santos e Carlos Escouto

    Contribute

    Please do! Check out our Contributing guidelines.

    License

    MIT © 2019-2019 Brid-IT

    Install

    npm i @kernel-js/crypt

    DownloadsWeekly Downloads

    2

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    16.7 kB

    Total Files

    11

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar
    • avatar