Skip to content

Instantly share code, notes, and snippets.

@marcusramberg
Created September 23, 2011 13:07
Show Gist options
  • Save marcusramberg/1237289 to your computer and use it in GitHub Desktop.
Save marcusramberg/1237289 to your computer and use it in GitHub Desktop.
DBIx::Class::PassPhraseColumn
column digest_pass => {
data_type => 'text',
passphrase => 'rfc2307',
passphrase_class => 'SaltedDigest',
passphrase_args => {
algorithm => 'SHA-1',
salt_random => 20,
},
passphrase_check_method => 'check_password',
is_nullable => 1
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment