scrypt T-SQL Function

380 views Asked by At

Does anyone have a tested function that implements the scrypt algorithm in TSQL? I've searched here and the interwebs at large and to my amazement have not found a CREATE FUNCTION statement I can copy and paste.

Others doing this search, be warned, that Google will "help" you by thinking you are a moron and replacing "scrypt" with "script" on your first search, until you promise you are indeed looking for "scrypt".

I half expect the answer to this question to be a link to an existing article, but I'll be damned if I can find it. The alternative would be writing code from scratch myself, and nobody does that anymore, right?

Thanks in advance for assistance.

1

There are 1 answers

1
Ian Boyd On BEST ANSWER

No, nobody has done this.

The closest you can get is finding a .NET implementation of Scrypt and wrapping it in a CLR assembly.