1
0
mirror of https://gitlab.com/bramw/baserow.git synced 2024-11-21 23:37:55 +00:00
bramw_baserow/web-frontend/modules/core/utils/hashing.js

6 lines
145 B
JavaScript

import crypto from 'crypto'
export function generateHash(value) {
return crypto.createHash('sha256').update(value.toString()).digest('hex')
}