1.0.1 • Published 1 year ago

cryptur v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

Modul cryptur

Modul ini dirancang untuk mengenkripsi string dan objek menggunakan algoritma crypto.

CARA MENGGUNAKAN

const { enctur, dectur } = require('cryptur');

// Mengenkripsi string atau objek
enctur(data, 'password');
dectur(encryptedData, 'password');

## Contoh string
const encryptedData  = enctur('teks ini akan di encrypt', 'password');
dectur(encryptedData, 'password');

## Contoh objek
const encryptedObjek = enctur({id:1,name : 'cahtru'}, 'password');
dectur(encryptedObjek, 'password');
1.0.1

1 year ago

1.0.0

1 year ago