Skip to main content
The 2025 Developer Survey results are in. Explore insights into technology and tools, careers, community and more. View results.

All Questions

Filter by
Sorted by
Tagged with
4 votes
1 answer
126 views

T-SQL Secure String Comparison

The previous version of my function was scalar-valued and employed a WHILE loop to do the comparison, this is SLOW. This new version is tabled-valued and uses a typical tally table in place of the ...
Kittoes0124's user avatar
  • 1,950
2 votes
1 answer
235 views

T-SQL Constant Time Comparison

Explanation is in the function. Please point out any egregious errors: ...
Kittoes0124's user avatar
  • 1,950
2 votes
0 answers
430 views

T-SQL Totp (Rfc6238 SHA2_256) Implementation

Using my previous function as a base I've come up the following: ...
Kittoes0124's user avatar
  • 1,950
6 votes
1 answer
353 views

T-SQL Pbdfk2 (Rfc2898 SHA2_256) Implementation

Using my previous function as a base I've come up the following: ...
Kittoes0124's user avatar
  • 1,950
7 votes
1 answer
1k views

T-SQL Hmac (Rfc2104 SHA2_256) Implementation

I'm trying to implement an Hmac in T-SQL using this question as an guide. Please critique this: ...
Kittoes0124's user avatar
  • 1,950
3 votes
2 answers
2k views

Using SQL with encryption

This is my first project I am doing in VB.NET, and also my first real programming project. There is sensitive data, so I am utilizing Microsoft's Encryption/Decryption class (...
Mark's user avatar
  • 269