Please be aware that the content in SAP SQL Anywhere Forum will be migrated to the SAP Community in June and this forum will be retired.

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: - can we do the same within SQL Anywhere 12 to make BCrypt available?

asked 13 Sep '15, 07:10

BlueMark's gravatar image

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
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



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "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:


question asked: 13 Sep '15, 07:10

question was seen: 3,769 times

last updated: 13 Sep '15, 07:55