mirror of
https://github.com/nx-bat/discordbot-ng.git
synced 2026-09-22 10:29:10 -04:00
How the hell did this get back
This commit is contained in:
@@ -38,6 +38,6 @@ export class Encrypter {
|
||||
}
|
||||
|
||||
static hash(clearText: string): string {
|
||||
return crypto.createHash('sha256', this.key).update(clearText).digest('base64');
|
||||
return crypto.createHmac('sha256', this.key).update(clearText).digest('base64');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user