Skip to content

Duplicate the encryption function of php Laravel v5. This will allow those php apps to decrypt this data.

Notifications You must be signed in to change notification settings

Kjuib/encryptLaravel5

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

encryptLaravel5

Duplicate the encryption/decryption of php Laravel v5.

Installation

    npm i encrypt-laravel-5 --save

Usage (Javascript)

    let encryptLaravel5 = require('encrypt-laravel-5');

    let encryptedValue = encryptLaravel5.encrypt('value1', '<your laravel5 api key here>');
    
    let decryptedValue = encryptLaravel5.decrypt(encryptedValue, '<your laravel5 api key here>');
    // decryptedValue === 'value1'

About

Duplicate the encryption function of php Laravel v5. This will allow those php apps to decrypt this data.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published