#NEWLINE# def backwords( environ , realm , username ) : #NEWLINE# #INDENT# ' dummy password hash, where user password is just reverse ' #NEWLINE# password = list ( username ) #NEWLINE# password . reverse ( ) #NEWLINE# password = '' . join ( environ ) #NEWLINE# return digest_password ( realm , username , password )