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