Path to this page:
./
databases/p5-DBIx-Class-EncodedColumn,
DBIx::Class component to automatically encode columns
Branch: pkgsrc-2011Q1,
Version: 0.00010,
Package name: p5-DBIx-Class-EncodedColumn-0.00010,
Maintainer: pkgsrc-usersThis DBIx::Class component can be used to automatically encode a column's
contents whenever the value of that column is set.
This module is similar to the existing DBIx::Class::DigestColumns, but
there is some key differences:
DigestColumns performs the encode operation on insert and update, and
EncodedColumn performs the operation when the value is set, or on new.
DigestColumns supports only algorithms of the Digest family. EncodedColumn
employs a set of thin wrappers around different cipher modules to provide
support for any cipher you wish to use and wrappers are very simple to
write (typically less than 30 lines).
EncodedColumn supports having more than one encoded column per table
and each column can use a different cipher.
Encode adds only one item to the namespace of the object utilizing it
(_column_encoders).
There is, unfortunately, some features that EncodedColumn doesn't support.
DigestColumns supports changing certain options at runtime, as well as the
option to not automatically encode values on set. The author of this module
found these options to be non-essential and omitted them by design.
Required to run:[
databases/p5-DBIx-Class]
Required to build:[
databases/p5-SQL-Translator]
Master sites: (Expand)
SHA1: c050ccfc846d5245f944cd1f495359e58d763474
RMD160: 812dd8e67919c2add5f94cb3340dd29775cdc699
Filesize: 34.452 KB
Version history: (Expand)
- (2011-04-04) Package added to pkgsrc.se, version p5-DBIx-Class-EncodedColumn-0.00010 (created)