from django.contrib.auth.hashers import BasePasswordHasher
from collections import OrderedDict
class PlainTextPassword(BasePasswordHasher):
    algorithm = "plain"

    def salt(self):
        return ''

    def encode(self, password, salt):
        assert salt == ''
        return password

    def verify(self, password, encoded):
        return password == encoded

    def safe_summary(self, encoded):
        return OrderedDict([
            (('algorithm'), self.algorithm),
            (('hash'), encoded),
        ])

a6852f294fd536d7b020db33fab561a12829837f
<mask token>


class PlainTextPassword(BasePasswordHasher):
    <mask token>

    def salt(self):
        return ''

    def encode(self, password, salt):
        assert salt == ''
        return password
    <mask token>

    def safe_summary(self, encoded):
        return OrderedDict([('algorithm', self.algorithm), ('hash', encoded)])

<mask token>


class PlainTextPassword(BasePasswordHasher):
    <mask token>

    def salt(self):
        return ''

    def encode(self, password, salt):
        assert salt == ''
        return password

    def verify(self, password, encoded):
        return password == encoded

    def safe_summary(self, encoded):
        return OrderedDict([('algorithm', self.algorithm), ('hash', encoded)])

<mask token>


class PlainTextPassword(BasePasswordHasher):
    algorithm = 'plain'

    def salt(self):
        return ''

    def encode(self, password, salt):
        assert salt == ''
        return password

    def verify(self, password, encoded):
        return password == encoded

    def safe_summary(self, encoded):
        return OrderedDict([('algorithm', self.algorithm), ('hash', encoded)])

from django.contrib.auth.hashers import BasePasswordHasher
from collections import OrderedDict


class PlainTextPassword(BasePasswordHasher):
    algorithm = 'plain'

    def salt(self):
        return ''

    def encode(self, password, salt):
        assert salt == ''
        return password

    def verify(self, password, encoded):
        return password == encoded

    def safe_summary(self, encoded):
        return OrderedDict([('algorithm', self.algorithm), ('hash', encoded)])

from django.contrib.auth.hashers import BasePasswordHasher
from collections import OrderedDict
class PlainTextPassword(BasePasswordHasher):
    algorithm = "plain"

    def salt(self):
        return ''

    def encode(self, password, salt):
        assert salt == ''
        return password

    def verify(self, password, encoded):
        return password == encoded

    def safe_summary(self, encoded):
        return OrderedDict([
            (('algorithm'), self.algorithm),
            (('hash'), encoded),
        ])
