⚰️ encryption Foldefolder

This commit is contained in:
Axel Olausson Holtenäs 2022-06-11 18:25:34 +02:00
parent c0b036bd4d
commit 9fb4f24427
No known key found for this signature in database
GPG key ID: 7BF6826B76382CBA

View file

@ -1,8 +1,8 @@
import crypto from "crypto"; import crypto from "crypto";
import { secretKey, algorithm } from "../config/encryption"; import { secretKey, algorithm } from "../../config/encryption";
import { IEncryptionData } from "../interfaces/EncryptionData"; import { IEncryptionData } from "../../interfaces/EncryptionData";
const iv = crypto.randomBytes(16); const iv = crypto.randomBytes(16);