cancel
Showing results for 
Search instead for 
Did you mean: 

BCrypt password hashing function

Former Member
4,538

BCrypt implements strong Blowfish password hashing. I need BCrypt password hashing function to use directly inside SQL Anywhere 12 database. I know such function is not built-in, but can we create it on our own?

I ask because I have found similar solution with MS-SQL Server: http://blog.tcs.de/using-the-bcrypt-hash-algorithm-in-ms-sql-server/ - can we do the same within SQL Anywhere 12 to make BCrypt available?

Accepted Solutions (1)

Accepted Solutions (1)

Breck_Carter
Participant

The blog post you reference talks about calling a C# DLL via SQL Server's .Net CLR external function interface.

You can do the same thing in SQL Anywhere 12 using the CLR external environment.

You can also use Java, Perl and PHP external environments with SQL Anywhere 12, and there is an "old school" external call interface for C/C++ DLLs.

Terminology Tip:

  • external call interface = fast, lean, difficult and very dangerous
  • external environment = slow, fat, easy and safe.

alt text

For a glimpse of what makes the external call interface different from external environments, see this blog post.

Answers (0)