mirror of
https://github.com/orangecoding/fredy.git
synced 2026-06-16 12:31:07 +00:00
3 lines
117 B
JavaScript
3 lines
117 B
JavaScript
import crypto from 'crypto';
|
|
export const hash = (x) => crypto.createHash('sha256').update(x, 'utf8').digest('hex');
|