Skip to content

Commit

Permalink
Add salt
Browse files Browse the repository at this point in the history
  • Loading branch information
JulienCoutault committed Aug 27, 2018
1 parent ad035fa commit 3fc59d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/core/service/crypt.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export class CryptService {
}

public createHash(text: string) {
return crypto.createHash('sha512').update(text).digest("hex");
return crypto.createHash('sha512').update('lindo' + text).digest("hex");
}

public createHashMd5(text: string) {
Expand Down

0 comments on commit 3fc59d6

Please sign in to comment.