Skip to content

Using digest in a stored procedure #1096

Answered by steve-chavez
Tarang asked this question in Questions
Discussion options

You must be logged in to vote

Try using it digest like:

select  encode(extensions.digest(('HEY'::text)::bytea, 'sha1'), 'hex');;

For more info, check: #1048 (comment)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by steve-chavez
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants