{"id":16810266,"url":"https://github.com/tessus/db2-hash-routines","last_synced_at":"2025-03-17T10:25:48.212Z","repository":{"id":6884178,"uuid":"8133539","full_name":"tessus/db2-hash-routines","owner":"tessus","description":"UDFs and SPs for DB2 to generate and validate hashes","archived":false,"fork":false,"pushed_at":"2019-01-08T20:52:30.000Z","size":157,"stargazers_count":2,"open_issues_count":1,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-23T19:54:04.060Z","etag":null,"topics":["db2","hash-algorithm","hash-functions","stored-procedures","user-defined-functions"],"latest_commit_sha":null,"homepage":"http://tessus.github.io/db2-hash-routines","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tessus.png","metadata":{"files":{"readme":"README","changelog":"ChangeLog","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-02-11T06:19:06.000Z","updated_at":"2020-07-19T20:43:50.000Z","dependencies_parsed_at":"2022-08-26T10:11:36.841Z","dependency_job_id":null,"html_url":"https://github.com/tessus/db2-hash-routines","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tessus%2Fdb2-hash-routines","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tessus%2Fdb2-hash-routines/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tessus%2Fdb2-hash-routines/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tessus%2Fdb2-hash-routines/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tessus","download_url":"https://codeload.github.com/tessus/db2-hash-routines/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244014352,"owners_count":20383763,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["db2","hash-algorithm","hash-functions","stored-procedures","user-defined-functions"],"created_at":"2024-10-13T10:14:56.669Z","updated_at":"2025-03-17T10:25:48.187Z","avatar_url":"https://github.com/tessus.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"+----------------------------------------------------------------------+\n| db2-hash-routines                                             README |\n+----------------------------------------------------------------------+\n| Author: Helmut K. C. Tessarek                                        |\n+----------------------------------------------------------------------+\n| Website: http://tessus.github.io/db2-hash-routines                   |\n+----------------------------------------------------------------------+\n\n1) Description of the library\n2) File Description\n\n+----------------------------------------------------------------------+\n| 1. Description of the librarys                                       |\n+----------------------------------------------------------------------+\n\nThis library delivers the following functions as UDFs and SPs:\n\nfunction in library          UDF / SP\n\nbcrypt                       bcrypt\nsha256hex                    sha256_hex\nsha1hex                      sha1_hex\nsha256 sha256s               sha256\nsha512 sha512s               sha512\nphpmd5                       php_md5\naprmd5                       apr_md5\naprcrypt                     apr_crypt\naprsha1                      apr_sha1\naprsha256                    apr_sha256\nvalidate                     validate_pw\n\nThe php_md5 routine is compatible to the PHP md5 function.\nThe sha256_hex routine returns a sha256 64-character hexadecimal hash.\nThe sha1_hex routine returns a sha1 40-character hexadecimal hash.\nThe apr_md5, apr_crypt, apr_sha1 and bcrypt routines are compatible to the\nfunctions used in Apache’s htpasswd utility.\nThe apr_sha256 routine returns the identifier {SHA256} plus the base64\nencoded sha256 hash.\nThe sha256 and sha512 functions return glib2’s crypt hashes (if supported).\nvalidate_pw validates a password against a hash.\n\nIn win32 environments apr_crypt returns the output of bcrypt, if available.\nIf bcrypt is not available, the output of apr_md5 is returned.\n\n+----------------------------------------------------------------------+\n| 2. File Description                                                  |\n+----------------------------------------------------------------------+\n\ndb2hash.c       the SQL API stuff\nhash.c          the c code for the hash functions\nhash.h          include file\nsha2.h          include file for APR sha256\nregister.ddl    script to register the UDFs and SPs\ndrop.ddl        script to drop the UDFs and SPs\nmakertn         bash script to compile the library (Linux/AIX)\nman/maninstall  script to install the man pages\ntest_hash.c     test program for the functions\nhash.exp        function export file for AIX\nhash.def        definition file for Windows\nmakertn.bat     script to compile the library (win32)\nmaketest.bat    script to compile test program\nINSTALL         compiling and installing instructions\nChangeLog       change log\nREADME          this file\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftessus%2Fdb2-hash-routines","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftessus%2Fdb2-hash-routines","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftessus%2Fdb2-hash-routines/lists"}