File size: 233 Bytes
450060f
 
 
 
 
 
 
1
2
3
4
5
6
7
import { computeSha256 } from "./computeSha256"

const secretFingerprint = `${process.env.SECRET_FINGERPRINT || ""}`

export function computeSecretFingerprint(input: string) {
  return computeSha256(`${secretFingerprint}_${input}`)
}