title: SHA1 hashing in SQLite: how?
body: <p>Working with several DBs in parallel and need to initialize some records with hashed passwords. In <code>MS SQL server</code> there are handy functions that allow to hash on the fly:</p>
  
  <pre><code>
  HashBytes('SHA1', CONVERT(nvarchar(32), N'admin'))
  </code></pre>
  
  <p>Is there is a similar function with <code>SQLite</code>?</p>
  
  <p>If not, which is the easiest workaround (such as select from <code>SQL server</code> and somehow insert it into <code>SQLite</code> tables)?</p>
  
  <p>The preferred hashing algorithm is <code>SHA1</code> and the passwords are stored in a <code>BLOB</code> column.</p>
  
  <p>Update: I use C# language in the current project.</p>