All public logs
Jump to navigation
Jump to search
Combined display of all available logs of Traxel Wiki. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).
- 16:46, 10 November 2023 RobertBushman talk contribs created page PythonSqliteAndPasswordHash (Created page with "Category:Python <syntaxhighlight lang="python" line> from passlib.hash import bcrypt import sqlite3 def register(email: str, password: str): conn = sqlite.connect('test01.db') cursor = conn.cursor() cursor.execute(''' CREATE TABLE IF NOT EXISTS login ( id INTEGER PRIMARY KEY, email TEXT, hash TEXT ) ''') cursor.execute(''' INSERT INTO login (email, hash) VALUES (?, ?) ''', (username, bcrypt.hash(password)))...")