renovate/lib/util/hasha.ts
Gabriel-Ladzaretti de289bb409
feat(core/onboarding): support manual rebase/retry (#17633)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-01-11 14:59:08 +01:00

5 lines
128 B
TypeScript

import hasha from 'hasha';
export function toSha256(input: string): string {
return hasha(input, { algorithm: 'sha256' });
}