You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CryptoDriver is a simple and easy-to-use encryption library for JavaScript applications. It provides a way to encrypt and decrypt data using the Advanced Encryption Standard (AES) algorithm with a user-provided key 🔑.
3
+
The `CryptoDriver` is a simple and easy-to-use encryption class, manages cipher and decipher of data using the Advanced Encryption Standard (AES) `AES-256-GCM` algorithm with a user-provided key. This algorithm uses a 256-bit key and is considered one of the most secure symmetric encryption algorithms available.
@@ -22,30 +35,113 @@ import CryptoDriver from 'crypto-driver';
22
35
constCryptoDriver=require('crypto-driver');
23
36
```
24
37
25
-
## Overview
26
-
27
-
### Create instance
38
+
## Usage
28
39
29
-
Then, create a new instance of the CryptoDriver class with your encryption key:
40
+
The `CryptoDriver` module is a class that needs to be instantiated with a key before it can be used. Once instantiated, you can use the `encrypt()` and `decrypt()` methods to encrypt and decrypt data.
0 commit comments