> We haven't used SHA-based or MD5-based hashing for some time.
oh, I was convinced sha2 was being used.
I probably just read the code a while ago and didn't notice it in the changelogs
--
"The whole of Japan is pure invention. There is no such country, there
are no such people" --Oscar Wilde
Hi Tomas,
If you dig into Django's password tools, you'll discover that we use PBKDF2
by default, and have an option to use bcrypt. We also have a pluggable
backend that allows you to define your own hashing algorithm if you'd
prefer something harder, or if something emerges that supersedes PBKDF2
and here it presses an even stronger case about NOT using bcrypt but
something even slower
http://www.unlimitednovelty.com/2012/03/dont-use-bcrypt.html
On Wed, Feb 27, 2013 at 12:33 PM, Tomas Neme wrote:
> I just ran into this. It presses a pretty strong case...
>
> http://codahale.com/how-to-sa
I just ran into this. It presses a pretty strong case...
http://codahale.com/how-to-safely-store-a-password/
--
"The whole of Japan is pure invention. There is no such country, there
are no such people" --Oscar Wilde
|_|0|_|
|_|_|0|
|0|0|0|
(\__/)
(='.'=)This is Bunny. Copy and paste bunny
(")_
Nah;
Here is my Model.
class Title(models.Model):
name = models.CharField(max_length=10)
def __unicode__(self):
return self.name
class UserProfile(models.Model):
title = models.ForeignKey(Title)
address = models.TextField()
date_added = models.DateTimeField()
class Us
On Thu, Nov 5, 2009 at 12:51 AM, Denis Bahati wrote:
> My project require to have my own table for users and roles. Am not using
> the default auth table.
Does this work for your additional user info?
http://docs.djangoproject.com/en/dev/topics/auth/#storing-additional-information-about-users
G
You can use the same method that django uses I've tried it and it
works
in your model inside the class for example users and after the
definitions of the fields
write
def save(self):
raw_password = self.password
import random
algo = 'sha1'
salt = get_hexdigest(alg
username and password.. contact table stores first
> name, last name, phone number, email id.. i have created a login page
> that accepts username and password.. i need my application to store
> the password in encrypted form in the database.
> how to do password encryption? i have trie
, email id.. i have created a login page
that accepts username and password.. i need my application to store
the password in encrypted form in the database.
how to do password encryption? i have tried some codings ,but that
doesnt work out. this is my models.py code.
===models.py
from django.conf
9 matches
Mail list logo