We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8994985 commit db7b165Copy full SHA for db7b165
README.md
@@ -78,3 +78,25 @@ $data[0] = [
78
];
79
80
```
81
+
82
+**Encrypt a file**
83
84
+```
85
86
+$secret = getenv('SECRET_KEY');
87
88
+$fileEncryptor = new FileEncryptor('movie.csv', $secret);
89
+$fileEncryptor->encryptFile();
90
91
92
93
+**Decrypt a file**
94
95
96
97
98
99
100
+$fileEncryptor->decryptFile();
101
102
0 commit comments