{"Entry":{"collection":"func","key":"md5","name":"md5","aliases":[],"metadata":{"changed_in":["8.1","8.2"],"changes":[{"descriptions_changed":false,"doc_overhaul":false,"from":"7.3","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"added","to":"7.4"},{"descriptions_changed":true,"doc_overhaul":false,"from":"7.4","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"8.0"},{"descriptions_changed":false,"doc_overhaul":false,"from":"8.0","group_changed":null,"signatures":{"added":["md5 ( string ) → text"],"removed":[]},"status":"changed","to":"8.1"},{"descriptions_changed":false,"doc_overhaul":false,"from":"8.1","group_changed":null,"signatures":{"added":[],"removed":["md5 ( string text ) → text"]},"status":"changed","to":"8.2"},{"descriptions_changed":false,"doc_overhaul":true,"from":"12","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"13"}],"content_hash":"4bb5631e3c4081072e0cd6d8aa6ebcd9d794f4e1658ed45e601556d09c6f3fee","derived_content_hash":"578dceda85d91b75e6b4005905387438d5d9dedbb88a5e81c6dabfe6d76cb6bc","documentation_refresh":{"batch":"20261113","original_source_rev":"wiki-repair-20261023:3b77cfb0e4c18173b498900a2884b178e7d20c9c44e9e820aadd07fcff7799c5","versions":{"14":"14.25","15":"15.20","16":"16.16","17":"17.12","18":"18.7","19":"19rc2"}},"first_version":"7.4","group":"string","group_label":"String Functions And Operators","groups":["string","binarystring"],"imported_at":"2026-09-27T17:57:28.35999+08:00","last_version":"20","name":"md5","name_key":"md5","position":3017,"present_in":["7.4","8.0","8.1","8.2","8.3","8.4","9.0","9.1","9.2","9.3","9.4","9.5","9.6","10","11","12","13","14","15","16","17","18","19","20"],"repair_provenance":{"original_source_revision":"wiki-repair-20261023:5e68bfd9454fe5f377eb7ee50eb0656962af77845c18a953932bc2005455603c","receipt_sha256":"e385b25a60d648e85e21fc6babe97671f23973be3dc259e0af61a6d8ca73028d","repair":"wiki-repair-20261023"},"signature":"md5 ( text ) → text","signature_count":2,"slug":"md5","source_rev":"wiki-repair-20261023:3b77cfb0e4c18173b498900a2884b178e7d20c9c44e9e820aadd07fcff7799c5","summary":"Computes the MD5 hash of the argument, with the result written in hexadecimal.","summary_zh":""}},"Definition":{"Collection":"func","Key":"md5","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"md5","SourceRevision":"wiki-repair-20261023:3b77cfb0e4c18173b498900a2884b178e7d20c9c44e9e820aadd07fcff7799c5","Facts":{"description":"Computes the MD5 hash of the argument, with the result written in hexadecimal.","description_html":"Computes the MD5 \u003ca href=\"/docs/18/functions-binarystring.html#FUNCTIONS-HASH-NOTE\"\u003ehash\u003c/a\u003e of the argument, with the result written in hexadecimal.","description_zh":"计算参数的 MD5 hash，结果以十六进制形式写入。","description_zh_html":"计算参数的 MD5 \u003ca href=\"/docs/18/functions-binarystring.html#FUNCTIONS-HASH-NOTE\"\u003ehash\u003c/a\u003e，结果以十六进制形式写入。","doc":{"anchor":"FUNCTIONS-STRING-OTHER","file":"functions-string.html","sha256":"dbe9f91e55c35969d99a8d2697b6f7bd5388a24ccc2b89706a666f176025f1e2","slug":"18"},"documentation_revision":{"inputs":[{"file":"functions-binarystring.html","kind":"same-version-reviewed-manual","locale":"en","sha256":"cd434063935e362cbb3621171770936b04bafcd58673d71a20cd6992580b2d84","version":"18.7"},{"file":"functions-string.html","kind":"same-version-reviewed-manual","locale":"en","sha256":"dbe9f91e55c35969d99a8d2697b6f7bd5388a24ccc2b89706a666f176025f1e2","version":"18.7"},{"file":"functions-binarystring.html","kind":"same-version-reviewed-manual","locale":"zh-Hans","sha256":"a5ee5be3c79e45371853d5c6dd8b1b3f52734bbc17726dbe626837179a1da1e0","version":"18.7"},{"file":"functions-string.html","kind":"same-version-reviewed-manual","locale":"zh-Hans","sha256":"7eecd3bb343149124be0476a539f3c682476eab2a15489a0e0ad06fbb769ea9e","version":"18.7"}],"release":"18.7","runtime_remeasured":false,"source_revision":"pgdoc:b9f0e7232f60f380d642ac9b99226606c254b552"},"group":"string","group_label":"字符串函数和操作符","lang":"en","layout":"table-new","pages":["functions-string.html","functions-binarystring.html"],"prose_only":false,"signatures":[{"description":"Computes the MD5 hash of the argument, with the result written in hexadecimal.","description_html":"Computes the MD5 \u003ca href=\"/docs/18/functions-binarystring.html#FUNCTIONS-HASH-NOTE\"\u003ehash\u003c/a\u003e of the argument, with the result written in hexadecimal.","description_zh":"计算参数的 MD5 hash，结果以十六进制形式写入。","description_zh_html":"计算参数的 MD5 \u003ca href=\"/docs/18/functions-binarystring.html#FUNCTIONS-HASH-NOTE\"\u003ehash\u003c/a\u003e，结果以十六进制形式写入。","examples":[{"expr":"md5('abc')","result":"900150983cd24fb0​d6963f7d28e17f72"}],"html":"\u003ccode class=\"function\"\u003emd5\u003c/code\u003e ( \u003ccode class=\"type\"\u003etext\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003etext\u003c/code\u003e","returns":"text","text":"md5 ( text ) → text","zh_from":"same-version-manual"},{"description":"Computes the MD5 hash of the binary string, with the result written in hexadecimal.","description_html":"Computes the MD5 \u003ca href=\"/docs/18/functions-binarystring.html#FUNCTIONS-HASH-NOTE\"\u003ehash\u003c/a\u003e of the binary string, with the result written in hexadecimal.","description_zh":"计算二进制字符串的 MD5 hash，结果以十六进制形式写入。","description_zh_html":"计算二进制字符串的 MD5 \u003ca href=\"/docs/18/functions-binarystring.html#FUNCTIONS-HASH-NOTE\"\u003ehash\u003c/a\u003e，结果以十六进制形式写入。","examples":[{"expr":"md5('Th\\000omas'::bytea)","result":"8ab2d3c9689aaf18​b4958c334c82d8b1"}],"html":"\u003ccode class=\"function\"\u003emd5\u003c/code\u003e ( \u003ccode class=\"type\"\u003ebytea\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003etext\u003c/code\u003e","returns":"text","text":"md5 ( bytea ) → text","zh_from":"same-version-manual"}],"translation_provenance":{"inputs":[{"kind":"current-pgdoc-translation","path":"/Users/vonng/pgsty/pgdoc/zh/18/html/functions-string.html","sha256":"0446377e0eccc9299099dc4b4b293204c337e3abefcdc396e9698bc54dd1080b"}],"kind":"same-version-pgdoc","locale":"zh-Hans","source_revision":"b1b500221dbe5437cfca004d6b04d3f6e422765d","version":"18"},"zh_from":"same-version-manual"},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-STRING-OTHER","file":"functions-string.html","sha256":"dbe9f91e55c35969d99a8d2697b6f7bd5388a24ccc2b89706a666f176025f1e2","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"md5","SourceDatabase":"center","Version":"18","Locale":"en","Title":"md5","Summary":"Computes the MD5 hash of the argument, with the result written in hexadecimal.","BodyHTML":"Computes the MD5 \u003ca href=\"/docs/18/functions-binarystring.html#FUNCTIONS-HASH-NOTE\" rel=\"nofollow\"\u003ehash\u003c/a\u003e of the argument, with the result written in hexadecimal.","SourceRevision":"wiki-repair-20261023:3b77cfb0e4c18173b498900a2884b178e7d20c9c44e9e820aadd07fcff7799c5","ContentHash":"fefcc019e7eb092dd142c334c2bcefee86e58782a571f6f0b925f5d1c1ef854e","Payload":{"description":"Computes the MD5 hash of the argument, with the result written in hexadecimal.","description_html":"Computes the MD5 \u003ca href=\"/docs/18/functions-binarystring.html#FUNCTIONS-HASH-NOTE\"\u003ehash\u003c/a\u003e of the argument, with the result written in hexadecimal.","signatures":[{"description":"Computes the MD5 hash of the argument, with the result written in hexadecimal.","description_html":"Computes the MD5 \u003ca href=\"/docs/18/functions-binarystring.html#FUNCTIONS-HASH-NOTE\"\u003ehash\u003c/a\u003e of the argument, with the result written in hexadecimal.","description_zh":"计算参数的 MD5 hash，结果以十六进制形式写入。","description_zh_html":"计算参数的 MD5 \u003ca href=\"/docs/18/functions-binarystring.html#FUNCTIONS-HASH-NOTE\"\u003ehash\u003c/a\u003e，结果以十六进制形式写入。","examples":[{"expr":"md5('abc')","result":"900150983cd24fb0​d6963f7d28e17f72"}],"html":"\u003ccode class=\"function\"\u003emd5\u003c/code\u003e ( \u003ccode class=\"type\"\u003etext\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003etext\u003c/code\u003e","returns":"text","text":"md5 ( text ) → text","zh_from":"same-version-manual"},{"description":"Computes the MD5 hash of the binary string, with the result written in hexadecimal.","description_html":"Computes the MD5 \u003ca href=\"/docs/18/functions-binarystring.html#FUNCTIONS-HASH-NOTE\"\u003ehash\u003c/a\u003e of the binary string, with the result written in hexadecimal.","description_zh":"计算二进制字符串的 MD5 hash，结果以十六进制形式写入。","description_zh_html":"计算二进制字符串的 MD5 \u003ca href=\"/docs/18/functions-binarystring.html#FUNCTIONS-HASH-NOTE\"\u003ehash\u003c/a\u003e，结果以十六进制形式写入。","examples":[{"expr":"md5('Th\\000omas'::bytea)","result":"8ab2d3c9689aaf18​b4958c334c82d8b1"}],"html":"\u003ccode class=\"function\"\u003emd5\u003c/code\u003e ( \u003ccode class=\"type\"\u003ebytea\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003etext\u003c/code\u003e","returns":"text","text":"md5 ( bytea ) → text","zh_from":"same-version-manual"}]}},"RequestedLocale":"en","Fallback":false,"Versions":["10","11","12","13","14","15","16","17","18","19","20","7.4","8.0","8.1","8.2","8.3","8.4","9.0","9.1","9.2","9.3","9.4","9.5","9.6"],"Locales":["en","zh-Hans"],"Signatures":[{"Version":"18","Ordinal":0,"Hash":"14c92aceeeec482dca610c0f0f5053f57c27dfebcda05180574a1e86e199c4bf","Text":"md5 ( text ) → text","Returns":"text","Payload":{"description":"Computes the MD5 hash of the argument, with the result written in hexadecimal.","description_html":"Computes the MD5 \u003ca href=\"/docs/18/functions-binarystring.html#FUNCTIONS-HASH-NOTE\"\u003ehash\u003c/a\u003e of the argument, with the result written in hexadecimal.","description_zh":"计算参数的 MD5 hash，结果以十六进制形式写入。","description_zh_html":"计算参数的 MD5 \u003ca href=\"/docs/18/functions-binarystring.html#FUNCTIONS-HASH-NOTE\"\u003ehash\u003c/a\u003e，结果以十六进制形式写入。","examples":[{"expr":"md5('abc')","result":"900150983cd24fb0​d6963f7d28e17f72"}],"html":"\u003ccode class=\"function\"\u003emd5\u003c/code\u003e ( \u003ccode class=\"type\"\u003etext\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003etext\u003c/code\u003e","returns":"text","text":"md5 ( text ) → text","zh_from":"same-version-manual"}},{"Version":"18","Ordinal":1,"Hash":"9c0d5f71bf38ee0aff5a0d8b298cff054d2adbf5145c3de6d2f9068e441bcbc2","Text":"md5 ( bytea ) → text","Returns":"text","Payload":{"description":"Computes the MD5 hash of the binary string, with the result written in hexadecimal.","description_html":"Computes the MD5 \u003ca href=\"/docs/18/functions-binarystring.html#FUNCTIONS-HASH-NOTE\"\u003ehash\u003c/a\u003e of the binary string, with the result written in hexadecimal.","description_zh":"计算二进制字符串的 MD5 hash，结果以十六进制形式写入。","description_zh_html":"计算二进制字符串的 MD5 \u003ca href=\"/docs/18/functions-binarystring.html#FUNCTIONS-HASH-NOTE\"\u003ehash\u003c/a\u003e，结果以十六进制形式写入。","examples":[{"expr":"md5('Th\\000omas'::bytea)","result":"8ab2d3c9689aaf18​b4958c334c82d8b1"}],"html":"\u003ccode class=\"function\"\u003emd5\u003c/code\u003e ( \u003ccode class=\"type\"\u003ebytea\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003etext\u003c/code\u003e","returns":"text","text":"md5 ( bytea ) → text","zh_from":"same-version-manual"}}],"Spellings":null,"SQLState":null,"Evidence":null}
