@payomodus/encryptor

1.0.3 • Public • Published

Summary

Node js POM Security Manager

Usage

var init_config = {
    key_id : 'arn',
    region : 'region' 
}
SecurityManager.initiate(init_config);

SecurityManager.encrypt(new Buffer('abc','utf-8')).then(encrypted => {
    SecurityManager.decrypt(encrypted).then(decrypted => {
        console.log(decrypted.toString('utf-8'));
    });});

License

Copyright (c) 2018 The Pay-O-Matic Corporation. Copying, modifying, publishing, displaying, performing or distributing the software accompanying this notice or in which this notice is contained is strictly prohibited.

Dependencies (3)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @payomodus/encryptor

    Weekly Downloads

    0

    Version

    1.0.3

    License

    ISC

    Unpacked Size

    3.42 kB

    Total Files

    5

    Last publish

    Collaborators

    • payomodus