Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3a1efb73f9 | ||
| 1300209ee6 | |||
|
|
20c72486aa |
5
.gitignore
vendored
5
.gitignore
vendored
@ -1,3 +1,8 @@
|
|||||||
node_modules/
|
node_modules/
|
||||||
*/node_modules/
|
*/node_modules/
|
||||||
*/build/
|
*/build/
|
||||||
|
|
||||||
|
**/node_modules/
|
||||||
|
**/build/
|
||||||
|
.DS_Store
|
||||||
|
.env
|
||||||
@ -18,6 +18,10 @@ async function encryptData(data, encryptionKeyBase64 = schema_encryption_key) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const key = base64.decode(encryptionKeyBase64);
|
const key = base64.decode(encryptionKeyBase64);
|
||||||
|
|
||||||
|
console.log(`[DEBUG] Decoded key length (bytes): ${key ? key.length : 0}`); // Добавили эту строку
|
||||||
|
|
||||||
|
|
||||||
const iv = crypto.randomBytes(12);
|
const iv = crypto.randomBytes(12);
|
||||||
|
|
||||||
const cipher = crypto.createCipheriv(algorithm, key, iv);
|
const cipher = crypto.createCipheriv(algorithm, key, iv);
|
||||||
|
|||||||
@ -50,7 +50,7 @@ export default function Login() {
|
|||||||
remember: true,
|
remember: true,
|
||||||
});
|
});
|
||||||
|
|
||||||
const title = 'Цудсщьу';
|
const title = 'Welcome';
|
||||||
|
|
||||||
// Fetch Pexels image/video
|
// Fetch Pexels image/video
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user