Data-Serializer

 view release on metacpan or  search on metacpan

examples/README  view on Meta::CPAN

20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
    where nothing else is done (no encoding, encryption, compression, etc)
    there is Data::Serializer::Raw(3).
 
    These begin like this:
 
      use Data::Serializer::Raw;
 
      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

42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
These 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 )