MySQL Forums
Forum List  »  Security

How to determine available hash functions programmatically
Posted by: Jim Dutton
Date: November 17, 2016 10:35PM

Due to some distributions (eg; CentOS) of MySQL where the distributed version number may not accurately reflect the internal functionality (eg; distributed version 5.1 may contain newer functionality from source version 5.5), I need a way to programmatically query/show the available HASH functions within any given MySQL executable. Somewhere between 5.1.xx and 5.5, SHA2 was added, but I cannot rely on documentation alone.

I could attempt to call a particular HASH function and deal with the errors, if any, but that is a messy approach at best.

Note: this has nothing to do with "password hash".

Options: ReplyQuote


Subject
Views
Written By
Posted
How to determine available hash functions programmatically
1663
November 17, 2016 10:35PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.