While executing this below function I'm facing this error.
Let me know if someone had the same issue in postgresql 10.x
ERROR: function digest(unknown, unknown) does not exist LINE 1: select encode(digest('123', 'sha256'),'hex'); ^ HINT: No function matches the given name and argument types. You might need to add explicit type casts. SQL state: 42883
Character: 15
You probably need to install the pgcrypto extension, which contains this function [1]