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?

asked 13 Sep '15, 07:10

BlueMark's gravatar image

BlueMark
24691523
accept rate: 50%


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.

permanent link

answered 13 Sep '15, 07:41

Breck%20Carter's gravatar image

Breck Carter
26.2k430599863
accept rate: 20%

edited 13 Sep '15, 07:55

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×412
×37
×22
×11
×5

question asked: 13 Sep '15, 07:10

question was seen: 555 times

last updated: 13 Sep '15, 07:55