Skip to content

Instantly share code, notes, and snippets.

View nflint's full-sized avatar

Nate Flint nflint

View GitHub Profile
@nflint
nflint / md5.gs
Created November 18, 2024 03:07 — forked from KEINOS/md5.gs
GAS(Google Apps Script) user function to get MD5 hash or 4digit shortened hash for Multibyte(UTF-8, 2bytes character) environment.
/**
* ------------------------------------------
* MD5 function for GAS(GoogleAppsScript)
*
* You can get a MD5 hash value and even a 4digit short Hash value of a string.
* ------------------------------------------
* Usage1:
* `=MD5("YourStringToHash")`
* or
* `=MD5( A1 )`