There is no such function built into SQLite3.
But you could define a user function e.g. with sqlite3_create_function
if you’re using the C interface, and implement SHA-1 with that. (But if you’re having a programmable interface perhaps you could just SHA-1 the password outside of the SQL engine.)
You could also try to find / create an extension and load with the load_extension
function, but I don’t have experience on that.
Edit:
- See this answer on SQLiteFunction Simple Not Working for how to define a custom function with
System.Data.SQLite
in C#. - Use System.Security.Cryptography.SHA1 to compute the SHA-1 hash.