DBIx::Class::EncodedColumn::Crypt::Eksblowfish::Bcrypt man page on Fedora

Man page or keyword search:  
man Server   31170 pages
apropos Keyword Search (all sections)
Output format
Fedora logo
[printable version]

DBIx::Class::EncodedCDBIx::Class::EncodedColumn::Crypt::Eksblowfish::Bcrypt(3)

NAME
       DBIx::Class::EncodedColumn::Crypt::Eksblowfish::Bcrypt

SYNOPSYS
	 #Eksblowfish bcrypt / cost of 8/ no key_nul / generate check method
	 __PACKAGE__->add_columns(
	   'password' => {
	     data_type => 'CHAR',
	     size      => 59,
	     encode_column => 1,
	     encode_class  => 'Crypt::Eksblowfish::Bcrypt',
	     encode_args   => { key_nul => 0, cost => 8 },
	     encode_check_method => 'check_password',
	 }

DESCRIPTION
ACCEPTED ARGUMENTS
   key_nul => [01]
       Defaults to true.

       From the Crypt::Eksblowfish::Bcrypt docs

	   Boolean: whether to append a NUL to the password before using it as a key.
	   The algorithm as originally devised does not do this, but it was later
	   modified to do it. The version that does append NUL is to be preferred;
	   not doing so is supported only for backward compatibility.

   cost => \d\d?
       A single or  double digit non-negative integer representing the cost of
       the hash function. Defaults to 8.

METHODS
   make_encode_sub $column_name, \%encode_args
       Returns a coderef that accepts a plaintext value and returns an encoded
       value

   make_check_sub $column_name, \%encode_args
       Returns a coderef that when given the row object and a plaintext value
       will return a boolean if the plaintext matches the encoded value. This
       is typically used for password authentication.

SEE ALSO
       DBIx::Class::EncodedColumn::Digest, DBIx::Class::EncodedColumn,
       Crypt::Eksblowfish::Bcrypt

AUTHOR
       Guillermo Roditi (groditi) <groditi@cpan.org>

       Based on the Vienna WoC	ToDo manager code by Matt S trout (mst)

LICENSE
       This module is free software; you can redistribute it and/or modify it
       under the same terms as Perl itself.

perl v5.14.1	     DBIx::Class::EncodedColumn::Crypt::Eksblowfish::Bcrypt(3)
[top]

List of man pages available for Fedora

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net