Using the SQL Hive function md5() is generating a MD5 hash, with 32 characters. Is there a way in Hive to have the character limit reduced without compromising the integrity of the output? Unfortunately, I have a limit for certain columns that cannot be changed.
I am trying to mask some data fields and thought using a MD5 would be the best option, but am open to other methods. I know the rand() function can be used, but hoping to avoid it.