PostgreSQLString FunctionsMD5
FORMAT

MD5String Functions

ABS

Returns the MD5 hash of the string.

Syntax

MD5(str)

Example

Enter values below to update the example in real time.

user_id
password
salt
pwd_hash
user_credentials
-- 비밀번호 해시 (예시용, 실제는 bcrypt 사용)
SELECT user_id, MD5(password || salt) AS pwd_hash
FROM user_credentials;