1.0.5 • Published 6 years ago

brokenjs v1.0.5

Weekly downloads
2
License
ISC
Repository
github
Last release
6 years ago

How to use?

$ npm i brokenjs

For encrypting data:

const broken = require('brokenjs')

broken.encrypt('test_encrypt_music_with_brokenjs',
               'broken_js_teste1',
               'music.mp3',
               'encrypted.mp3')

Docs

.encrypt(password, iv, fileSource, fileOutput)

Parameter: password Type: String Ex: test_encrypt_music_with_brokenjs

Parameter: iv Type: String Ex:broken_js_teste1

Parameter: fileSource Type: String Ex: music.mp3

Parameter: fileOutput Type: String Ex:encrypted.mp3

For decrypting data:

const broken = require('brokenjs')

broken.decrypt('test_encrypt_music_with_brokenjs',
               'broken_js_teste1',
               'encrypted.mp3',
               'music.mp3')

Docs

.decrypt(password, iv, fileSource, fileOutput)

Parameter: password Type: StringEx:test_encrypt_music_with_brokenjs

Parameter: iv Type: String Ex:broken_js_teste1

Parameter: fileSource Type: String Ex: encrypted.mp3

Parameter: fileOutput Type: String Ex: music.mp3

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago