{"id":40823223,"url":"https://github.com/akuroda/teradata-udf-sha2","last_synced_at":"2026-01-21T22:07:45.824Z","repository":{"id":12812636,"uuid":"15487620","full_name":"akuroda/teradata-udf-sha2","owner":"akuroda","description":"SHA-2 hash function UDFs(SHA-256/512) for Teradata","archived":false,"fork":false,"pushed_at":"2014-08-06T13:32:49.000Z","size":276,"stargazers_count":2,"open_issues_count":0,"forks_count":6,"subscribers_count":4,"default_branch":"master","last_synced_at":"2023-03-22T19:12:33.086Z","etag":null,"topics":["hash-functions","sha256","teradata","udf"],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/akuroda.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-12-28T05:33:39.000Z","updated_at":"2021-11-30T01:41:55.000Z","dependencies_parsed_at":"2022-08-25T19:01:12.323Z","dependency_job_id":null,"html_url":"https://github.com/akuroda/teradata-udf-sha2","commit_stats":null,"previous_names":[],"tags_count":1,"template":null,"template_full_name":null,"purl":"pkg:github/akuroda/teradata-udf-sha2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akuroda%2Fteradata-udf-sha2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akuroda%2Fteradata-udf-sha2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akuroda%2Fteradata-udf-sha2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akuroda%2Fteradata-udf-sha2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/akuroda","download_url":"https://codeload.github.com/akuroda/teradata-udf-sha2/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akuroda%2Fteradata-udf-sha2/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28644994,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T21:29:11.980Z","status":"ssl_error","status_checked_at":"2026-01-21T21:24:31.872Z","response_time":86,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hash-functions","sha256","teradata","udf"],"created_at":"2026-01-21T22:07:45.134Z","updated_at":"2026-01-21T22:07:45.820Z","avatar_url":"https://github.com/akuroda.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"SHA-2 UDF package for Teradata  Version 1.0 (2013-12-28)\n\nCopyright (c) 2013 Akira Kuroda \u003cakuroda@gmail.com\u003e\nSee the LICENSE file for license rights and limitations (MIT)\n\n1. Summary\n\nThis package includes UDFs which generates SHA-2 message digest.\nFor SHA-2 itself, refer FIPS PUB 180-4[1].\n\n\n2. Syntax\n\n hash_sha256(varchar)\n hash_sha512(varchar)\n\nThese functions take one char/varchar argument of any length and\nreturns 256/512-bit hash value as hexadecimal format.\nIt does not accept NULL value.\n\n\n3. Installation\n\n1 unpack the archive and go to src directory\n2 start bteq and login to teradata\n3 register UDFs by runnning scripts in the src diretcory:\n .run file = hash_sha256.sql\n .run file = hash_sha512.sql\n4 if you would like to validate hash value generated by the UDF, run\n  test scripts in the test directory:\n for hash_256: sha256test_cre.sql, sha256test_ins.sql and sha256test_chk.sql\n for hash_512: sha512test_cre.sql, sha512test_ins.sql and sha512test_chk.sql\n\n\nA. Rererences\n\n[1] FIPS PUB 180-4\nhttp://csrc.nist.gov/publications/fips/fips180-4/fips-180-4.pdf\n\n\nB. Example\n\nhash_sha256('abc')\n -\u003e ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad\nhash_sha512('abc')\n -\u003e ddaf35a193617abacc417349ae20413112e6fa4e89a97ea20a9eeee64b55d39a2192992a274fc1a836ba3c23a3feebbd454d4423643ce80e2a9ac94fa54ca49f\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakuroda%2Fteradata-udf-sha2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakuroda%2Fteradata-udf-sha2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakuroda%2Fteradata-udf-sha2/lists"}