The forum is currently being migrated to a new host. While the migration happens, the old server is still available. Once the new machine is ready, I will copy the database to the new machine. Feel free to ask and answer questions in the meantime.

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
316131827
accept rate: 66%


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
31.3k5036891011
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:

×435
×43
×23
×14
×7

question asked: 13 Sep '15, 07:10

question was seen: 2,598 times

last updated: 13 Sep '15, 07:55