diff options
Diffstat (limited to 'lib/KiokuDB/Serializer/Storable')
-rw-r--r-- | lib/KiokuDB/Serializer/Storable/Crypt.pm | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/lib/KiokuDB/Serializer/Storable/Crypt.pm b/lib/KiokuDB/Serializer/Storable/Crypt.pm deleted file mode 100644 index 4bd17b5..0000000 --- a/lib/KiokuDB/Serializer/Storable/Crypt.pm +++ /dev/null @@ -1,39 +0,0 @@ -package KiokuDB::Serializer::Storable::Crypt; -use Moose; -use namespace::autoclean; - -# ABSTRACT: encrypted Storable serializer - -=head1 SYNOPSIS - - use KiokuDB::Util; - use KiokuDB::Serializer::Storable::Crypt; - - my $dsn = '...'; - my $secret = '...'; - - my $backend = KiokuDB::Util::dsn_to_backend( - $dsn, - serializer => KiokuDB::Serializer::Storable::Crypt->new( - crypt_cipher => 'Rijndael', - crypt_mode => 'CFB', - crypt_key => $secret, - ), - ) - - my $d = KiokuDB->new(backend => $backend); - -=head1 DESCRIPTION - -This serializer class extends L<KiokuDB::Serializer::Storable> to add -encryption support. See L<KiokuDB::Serializer::Crypt> for an explanation of the -allowed attributes. - -=cut - -extends 'KiokuDB::Serializer::Storable'; -with 'KiokuDB::Serializer::Crypt'; - -__PACKAGE__->meta->make_immutable; - -1; |