add contact search (#98)

This commit is contained in:
KM Koushik
2025-02-03 22:41:34 +11:00
committed by GitHub
parent 78fc6fe5bb
commit d224be07a2
3 changed files with 38 additions and 6 deletions

View File

@@ -32,7 +32,7 @@ export function getGravatarUrl(
size: 80,
defaultImage: "identicon",
rating: "g",
},
}
) {
const trimmedEmail = email.trim().toLowerCase();
const hash = crypto.createHash("sha256").update(trimmedEmail).digest("hex");