Remove log
This commit is contained in:
@@ -72,7 +72,6 @@ async function main() {
|
|||||||
|
|
||||||
class Encrypter {
|
class Encrypter {
|
||||||
static initialize(encryptionKey) {
|
static initialize(encryptionKey) {
|
||||||
console.log(`Initializing encrypter with key: ${encryptionKey}`);
|
|
||||||
this.key = crypto.scryptSync(encryptionKey, 'salt', 32);
|
this.key = crypto.scryptSync(encryptionKey, 'salt', 32);
|
||||||
}
|
}
|
||||||
static encrypt(clearText) {
|
static encrypt(clearText) {
|
||||||
|
|||||||
@@ -8,7 +8,6 @@ export class Encrypter {
|
|||||||
private static key: Buffer;
|
private static key: Buffer;
|
||||||
|
|
||||||
static initialize(encryptionKey: string) {
|
static initialize(encryptionKey: string) {
|
||||||
console.log(`Initializing encrypter with key: ${encryptionKey}`);
|
|
||||||
this.key = crypto.scryptSync(encryptionKey, 'salt', 32);
|
this.key = crypto.scryptSync(encryptionKey, 'salt', 32);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user