{"Entry":{"collection":"func","key":"sha256","name":"sha256","aliases":[],"metadata":{"changed_in":[],"changes":[{"descriptions_changed":false,"doc_overhaul":false,"from":"10","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"added","to":"11"},{"descriptions_changed":false,"doc_overhaul":true,"from":"12","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"13"}],"content_hash":"f3a3ee4f8c3447353dbb885b19746a1a1681e983b7a764562da5d09fb6c6cffb","first_version":"11","group":"binarystring","group_label":"Binary String Functions And Operators","groups":["binarystring"],"imported_at":"2026-09-14T21:49:48.689067+08:00","last_version":"20","name":"sha256","name_key":"sha256","position":4013,"present_in":["11","12","13","14","15","16","17","18","19","20"],"signature":"sha256 ( bytea ) → bytea","signature_count":1,"slug":"sha256","source_rev":"2026-09-14T13:14:25.684213+00:00@99e6866c","summary":"Computes the SHA-256 hash of the binary string.","summary_zh":""}},"Definition":{"Collection":"func","Key":"sha256","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"sha256","SourceRevision":"2026-09-14T13:14:25.684213+00:00@99e6866c","Facts":{"description":"Computes the SHA-256 hash of the binary string.","description_html":"Computes the SHA-256 \u003ca href=\"/docs/18/functions-binarystring.html#FUNCTIONS-HASH-NOTE\"\u003ehash\u003c/a\u003e of the binary string.","description_zh":"","description_zh_html":"","doc":{"anchor":"FUNCTIONS-BINARYSTRING-OTHER","file":"functions-binarystring.html","slug":"18"},"group":"binarystring","group_label":"Binary String Functions And Operators","lang":"en","layout":"table-new","pages":["functions-binarystring.html"],"prose_only":false,"signatures":[{"description":"Computes the SHA-256 hash of the binary string.","description_html":"Computes the SHA-256 \u003ca href=\"/docs/18/functions-binarystring.html#FUNCTIONS-HASH-NOTE\"\u003ehash\u003c/a\u003e of the binary string.","description_zh":"","description_zh_html":"","examples":[{"expr":"sha256('abc'::bytea)","result":"\\xba7816bf8f01cfea414140de5dae2223​b00361a396177a9cb410ff61f20015ad"}],"html":"\u003ccode class=\"function\"\u003esha256\u003c/code\u003e ( \u003ccode class=\"type\"\u003ebytea\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003ebytea\u003c/code\u003e","returns":"bytea","text":"sha256 ( bytea ) → bytea","zh_from":""}],"zh_from":""},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-BINARYSTRING-OTHER","file":"functions-binarystring.html","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"sha256","SourceDatabase":"pgweb","Version":"18","Locale":"zh-Hans","Title":"sha256","Summary":"计算二进制字符串的 SHA-256 hash。","BodyHTML":"计算二进制字符串的 SHA-256 \u003ca href=\"/docs/18/functions-binarystring.html#FUNCTIONS-HASH-NOTE\" rel=\"nofollow\"\u003ehash\u003c/a\u003e。\u003cpre\u003esha256 ( bytea ) → bytea\u003c/pre\u003e计算二进制字符串的 SHA-256 \u003ca href=\"/docs/18/functions-binarystring.html#FUNCTIONS-HASH-NOTE\" rel=\"nofollow\"\u003ehash\u003c/a\u003e。","SourceRevision":"ca936764","ContentHash":"818693d9f1776ea3d0116686252b320e1beab39edb0eadad91bbfa9a0b8603ab","Payload":{"description_zh":"计算二进制字符串的 SHA-256 hash。","description_zh_html":"计算二进制字符串的 SHA-256 \u003ca href=\"/docs/18/functions-binarystring.html#FUNCTIONS-HASH-NOTE\"\u003ehash\u003c/a\u003e。","signatures":[{"description_zh":"计算二进制字符串的 SHA-256 hash。","description_zh_html":"计算二进制字符串的 SHA-256 \u003ca href=\"/docs/18/functions-binarystring.html#FUNCTIONS-HASH-NOTE\"\u003ehash\u003c/a\u003e。","returns":"bytea","text":"sha256 ( bytea ) → bytea","zh_from":"doc"}],"zh_from":"doc"}},"RequestedLocale":"zh-Hans","Fallback":false,"Versions":["11","12","13","14","15","16","17","18","19","20"],"Locales":["en","zh-Hans"],"Signatures":[{"Version":"18","Ordinal":0,"Hash":"4a8c117222e0319411943b0195b4b0bc05f31255210f0a62a2915e627d8ed92c","Text":"sha256 ( bytea ) → bytea","Returns":"bytea","Payload":{"description":"Computes the SHA-256 hash of the binary string.","description_html":"Computes the SHA-256 \u003ca href=\"/docs/18/functions-binarystring.html#FUNCTIONS-HASH-NOTE\"\u003ehash\u003c/a\u003e of the binary string.","description_zh":"","description_zh_html":"","examples":[{"expr":"sha256('abc'::bytea)","result":"\\xba7816bf8f01cfea414140de5dae2223​b00361a396177a9cb410ff61f20015ad"}],"html":"\u003ccode class=\"function\"\u003esha256\u003c/code\u003e ( \u003ccode class=\"type\"\u003ebytea\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003ebytea\u003c/code\u003e","returns":"bytea","text":"sha256 ( bytea ) → bytea","zh_from":""}}],"Spellings":null,"SQLState":null,"Evidence":null}
