Data-Serializer
view release on metacpan or search on metacpan
examples/README view on Meta::CPAN
202122232425262728293031323334353637383940
where nothing
else
is done (
no
encoding, encryption, compression, etc)
there is Data::Serializer::Raw(3).
These begin like this:
my
$raw_serializer
= Data::Serializer::Raw->new();
Encrypting your data
You wish to encrypt your data structure, so that it can only be decoded
by someone who shares the same key.
Solution
$serializer
->secret(
'mysecret'
);
my
$encrypted_hashref
=
$serializer
->serializer(
$hash
);
... (in other program) ...
$serializer
->secret(
'mysecret'
);
lib/Data/Serializer/Cookbook.pm view on Meta::CPAN
4243444546474849505152535455565758596061These begin like this:
my
$raw_serializer
= Data::Serializer::Raw->new();
=head1 Encrypting your data
You wish to encrypt your data structure, so that it can only be decoded
by someone who shares the same key.
=head2 Solution
$serializer->secret('mysecret');
my $encrypted_hashref = $serializer->serializer($hash);
... (in other program) ...
( run in 0.240 second using v1.01-cache-2.11-cpan-454fe037f31 )