![]() ![]() | ![]() |
File: [local] / palm / Palm-Keyring / examples / example1.pl (download)
Revision 1.9, Tue Jan 30 04:59:55 2007 UTC (17 years, 6 months ago) by andrew
Switch to decrypting one record at a time when requested. That leads to more tests so that's kewl :-) |
#!/usr/bin/perl # $RedRiver$ use strict; use warnings; use Palm::Keyring; my $pdb = new Palm::Keyring('12345'); my $rec = $pdb->append_Record(); my $acct = { name => 'Test3', account => 'anothertestaccount', password => 'adifferentmypass', notes => 'now that really roxorZ!', }; $pdb->Encrypt($rec, $acct); $pdb->Write("Keys-Gtkr-example.PDB");