your secret admirer
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 135
Secret Squirrel 0.8
Secret Squirrel is a password manager. more>>
Secret Squirrel project is a password manager.
Secret Squirrel is a basic password management application written in Java.
It uses Blowfish and SHA-384, performs password generation using the Java secure random object (fully configurable), and supports password groups
Main features:
- JavaBlowfish encryption
- SHA-384 of passwords
- Password generation (fully configurable)
- Password groups
- Cross-platform (java)
- Software keyboard to bypass key capture programs
- Double-click to put password into clipboard
<<lessSecret Squirrel is a basic password management application written in Java.
It uses Blowfish and SHA-384, performs password generation using the Java secure random object (fully configurable), and supports password groups
Main features:
- JavaBlowfish encryption
- SHA-384 of passwords
- Password generation (fully configurable)
- Password groups
- Cross-platform (java)
- Software keyboard to bypass key capture programs
- Double-click to put password into clipboard
Download (0.017MB)
Added: 2007-01-22 License: GPL (GNU General Public License) Price:
1007 downloads
Secret of Eternia 0.3
Secret of Eternia project is a 2D RPG using ClanLib. more>>
Secret of Eternia project is a 2D RPG using ClanLib.
The eaisest way to get started is to use an example map from the game itself. Open up (File-Open) the first map in the maps/ folder (maps/1.fmp). You will notice that the map looks exactly like the first screen of the game demo!
You will notice the screen is divided into 2 main sections. The larger section is the preview of the map you are working on. The left side menu is a listing of all avaliable blocks that you currently have in the map. You can click on a block to set it as your current brush. This is similar to choosing a paint color in a paint program. Once you select a block, you can then edit the map by clicking in the map area. This is the generic way to edit the map.
Play around with this map to create some different landscapes and such using many blocks. You can even save the map and start up SoE to see your changes! (Make sure you have a backup of the original map, or you will have to download the game again).
Enhancements:
- Bug fixes! See the forum for detailed information.
- Lua support is added in. (see docs/ for how to use this)
- Lighting effects are here!
- Fully Working Windows Support
<<lessThe eaisest way to get started is to use an example map from the game itself. Open up (File-Open) the first map in the maps/ folder (maps/1.fmp). You will notice that the map looks exactly like the first screen of the game demo!
You will notice the screen is divided into 2 main sections. The larger section is the preview of the map you are working on. The left side menu is a listing of all avaliable blocks that you currently have in the map. You can click on a block to set it as your current brush. This is similar to choosing a paint color in a paint program. Once you select a block, you can then edit the map by clicking in the map area. This is the generic way to edit the map.
Play around with this map to create some different landscapes and such using many blocks. You can even save the map and start up SoE to see your changes! (Make sure you have a backup of the original map, or you will have to download the game again).
Enhancements:
- Bug fixes! See the forum for detailed information.
- Lua support is added in. (see docs/ for how to use this)
- Lighting effects are here!
- Fully Working Windows Support
Download (4.8MB)
Added: 2007-01-08 License: GPL (GNU General Public License) Price:
1024 downloads
Secret Maryo Chronicles 1.0
Secret Maryo Chronicles is an Open Source two-dimensional platform game. more>> <<less
Download (10.5MB)
Added: 2007-07-28 License: GPL v3 Price:
962 downloads
Secret::Simple 0.11
Secret::Simple are secure secrets in configurations and code. more>>
Secret::Simple are secure secrets in configurations and code.
SYNOPSIS
# OOP style
my $ss = Secret::Simple->new();
my $ciphertext = $ss->encrypt($plaintext);
my $plaintext = $ss->decrypt($ciphertext);
# procedural style
my $ciphertext = ssencrypt($plaintext);
my $plaintext = ssdecrypt($ciphertext);
This module implements a straightforward interface for encrypting and decrypting secret information such as user IDs and passwords (e.g. database connection or remote account credentials). Secret::Simple can also be used on a limited basis to protect arbitrary data. By default the ciphertext returned is Base 64 encoded so as to be easily embedded within configurations or scripts.
A command-line utility called sstool is included to facilitate easy manipulation of cipher and plaintext snippets. The encryption mechanism utilizes the strong AES algorithm, so any weaknesses in Secret::Simple predominantly lie in how keys are protected. A balance must be struck between key accessibility, key protection, and overall complexity. The calling code can supply a key, series of keys, key files, or a combination. If no key information is explicitly passed, the module will attempt to use the OS users private SSH DSA key file by default if it exists.
The major goal of this module is to be as secure as possible while being simple and convenient enough to encourage its use. Psychology does factor in: simple is a very important consideration. If the security methods are too onerous or complicated to use, many sysadmins or developers may simply use plaintext (no protection other that OS file permissions) or simple ciphers like rot13. The security of the Secret::Simple method is not perfect, but it does represent a significant improvement over commonly-used nonsecure methods of embedding credentials and other secrets in Perl configurations and scripts. If used appropriately, Secret::Simple can greatly improve application and configuration security. Even so, care must always be taken to protect files and file permissions.
<<lessSYNOPSIS
# OOP style
my $ss = Secret::Simple->new();
my $ciphertext = $ss->encrypt($plaintext);
my $plaintext = $ss->decrypt($ciphertext);
# procedural style
my $ciphertext = ssencrypt($plaintext);
my $plaintext = ssdecrypt($ciphertext);
This module implements a straightforward interface for encrypting and decrypting secret information such as user IDs and passwords (e.g. database connection or remote account credentials). Secret::Simple can also be used on a limited basis to protect arbitrary data. By default the ciphertext returned is Base 64 encoded so as to be easily embedded within configurations or scripts.
A command-line utility called sstool is included to facilitate easy manipulation of cipher and plaintext snippets. The encryption mechanism utilizes the strong AES algorithm, so any weaknesses in Secret::Simple predominantly lie in how keys are protected. A balance must be struck between key accessibility, key protection, and overall complexity. The calling code can supply a key, series of keys, key files, or a combination. If no key information is explicitly passed, the module will attempt to use the OS users private SSH DSA key file by default if it exists.
The major goal of this module is to be as secure as possible while being simple and convenient enough to encourage its use. Psychology does factor in: simple is a very important consideration. If the security methods are too onerous or complicated to use, many sysadmins or developers may simply use plaintext (no protection other that OS file permissions) or simple ciphers like rot13. The security of the Secret::Simple method is not perfect, but it does represent a significant improvement over commonly-used nonsecure methods of embedding credentials and other secrets in Perl configurations and scripts. If used appropriately, Secret::Simple can greatly improve application and configuration security. Even so, care must always be taken to protect files and file permissions.
Download (0.008MB)
Added: 2006-11-14 License: Perl Artistic License Price:
1075 downloads
seccure 0.3
seccure toolset implements a selection of asymmetric algorithms based on elliptic curve cryptography (ECC). more>>
seccure toolset implements a selection of asymmetric algorithms based on elliptic curve cryptography (ECC). In particular it offers public key encryption / decryption and signature generation / verification.
ECC schemes offer a much better key size to security ratio than classical systems (RSA, DSA). Keys are short enough to make direct specification of keys on the command line possible (sometimes this is more convenient than the management of PGP-like key rings).
seccure builds on this feature and therefore is the tool of choice whenever lightweight asymmetric cryptography -- independent of key servers, revocation certificates, the Web of Trust or even configuration files -- is required.
Where can I download seccure?
seccure is GPL software. First download seccure from the following link. Then, after having made sure that libgcrypt is properly installed, run make and make install as usual.
How is seccure used?
First we give an example for key generation:
$ seccure-key
Assuming curve p160.
Enter private key: my private key
The public key is: 8W;>i^H0qi|J&$coR5MFpR*Vn
Then we do some public key encryption / decryption:
$ seccure-encrypt -o private.msg 8W;>i^H0qi|J&$coR5MFpR*Vn
Assuming MAC length of 80 bits.
Go ahead and type your message ...
This is a very very secret message!
^D
$ seccure-decrypt -i private.msg
Assuming MAC length of 80 bits.
Assuming curve p160.
Enter private key: my private key
This is a very very secret message!
Integrity check successful, message unforged!
At last we try out the signature generation / verification:
$ seccure-sign
Assuming curve p160.
Enter private key: my private key
Go ahead and type your message ...
This message will be signed
^D
Signature: !JI1%Luh6mu:@)S3wS.go(u1z,b.NhXIUI)/p@$*ONA+)+G}}_
$ seccure-verify 8W;>i^H0qi|J&$coR5MFpR*Vn !JI1%Luh6mu:@)S3wS.go(u1z,b.NhXIUI)/p@$*ONA+)+G}}_
Go ahead and type your message ...
This message will be signed
^D
Signature successfully verified!
Enhancements:
- This release adds signcryption and inline signatures.
<<lessECC schemes offer a much better key size to security ratio than classical systems (RSA, DSA). Keys are short enough to make direct specification of keys on the command line possible (sometimes this is more convenient than the management of PGP-like key rings).
seccure builds on this feature and therefore is the tool of choice whenever lightweight asymmetric cryptography -- independent of key servers, revocation certificates, the Web of Trust or even configuration files -- is required.
Where can I download seccure?
seccure is GPL software. First download seccure from the following link. Then, after having made sure that libgcrypt is properly installed, run make and make install as usual.
How is seccure used?
First we give an example for key generation:
$ seccure-key
Assuming curve p160.
Enter private key: my private key
The public key is: 8W;>i^H0qi|J&$coR5MFpR*Vn
Then we do some public key encryption / decryption:
$ seccure-encrypt -o private.msg 8W;>i^H0qi|J&$coR5MFpR*Vn
Assuming MAC length of 80 bits.
Go ahead and type your message ...
This is a very very secret message!
^D
$ seccure-decrypt -i private.msg
Assuming MAC length of 80 bits.
Assuming curve p160.
Enter private key: my private key
This is a very very secret message!
Integrity check successful, message unforged!
At last we try out the signature generation / verification:
$ seccure-sign
Assuming curve p160.
Enter private key: my private key
Go ahead and type your message ...
This message will be signed
^D
Signature: !JI1%Luh6mu:@)S3wS.go(u1z,b.NhXIUI)/p@$*ONA+)+G}}_
$ seccure-verify 8W;>i^H0qi|J&$coR5MFpR*Vn !JI1%Luh6mu:@)S3wS.go(u1z,b.NhXIUI)/p@$*ONA+)+G}}_
Go ahead and type your message ...
This message will be signed
^D
Signature successfully verified!
Enhancements:
- This release adds signcryption and inline signatures.
Download (0.025MB)
Added: 2006-08-17 License: GPL (GNU General Public License) Price:
1164 downloads
Secrets-Of-Making-Money 1.0
The Ultimate Safe Money Guide -Free Online Money Guide Make Your Online Money The Safe Way And Generate a Daily Income Stream. The best thing I came ... more>> <<less
Download (2117KB)
Added: 2009-04-02 License: Freeware Price: Free
204 downloads
Making-Money-Secret 1.0
The Ultimate Safe Money Guide -Free Online Money Guide Make Your Online Money The Safe Way And Generate a Daily Income Stream. The best thing I came ... more>> <<less
Download (2117KB)
Added: 2009-04-07 License: Freeware Price: Free
199 downloads
Making-Money-Secrets 1.0
The Ultimate Safe Money Guide -Free Online Money Guide Make Your Online Money The Safe Way And Generate a Daily Income Stream. The best thing I came ... more>> <<less
Download (2117KB)
Added: 2009-04-06 License: Freeware Price: Free
205 downloads
Real-Time Proactive Secret Sharing Library 0.1
Real-Time Proactive Secret Sharing Library is an implementation of the Shamirs secret sharing scheme. more>>
Real-Time Proactive Secret Sharing Library is an implementation of the Shamirs secret sharing scheme and Herzbergs proactive secret sharing algorithm.
Real-Time Proactive Secret Sharing Library targets the RTAI OS. It includes a port of GNU GMP to RTAI, which is used for multiple precision arithmetic operations.
to run the rt-pss
./start_pss ID (*) ID should be between 0 and PSSW_NUMBER_OF_MACHINES-1(this constant is defined in src/share_app_pssw.h)
(*) each local RT-PSS should be executed with a
different ID starting with 0
(*) you must have superuser privilegies to do that.
to stop the rt-pss
./stop_pss (*) be sure that no applications that uses the RT-PSS are
running.
(*) you must have superuser privilegies to do that.
developing RT-PSS Apps
There is a demo application available in the directory: examples/GetShare. The RT-PSS API can be consulted in the file README.API
<<lessReal-Time Proactive Secret Sharing Library targets the RTAI OS. It includes a port of GNU GMP to RTAI, which is used for multiple precision arithmetic operations.
to run the rt-pss
./start_pss ID (*) ID should be between 0 and PSSW_NUMBER_OF_MACHINES-1(this constant is defined in src/share_app_pssw.h)
(*) each local RT-PSS should be executed with a
different ID starting with 0
(*) you must have superuser privilegies to do that.
to stop the rt-pss
./stop_pss (*) be sure that no applications that uses the RT-PSS are
running.
(*) you must have superuser privilegies to do that.
developing RT-PSS Apps
There is a demo application available in the directory: examples/GetShare. The RT-PSS API can be consulted in the file README.API
Download (1.3MB)
Added: 2006-06-09 License: GPL (GNU General Public License) Price:
1235 downloads
UpYours! 0.1.3
UpYours! provides a simple file upload cgi-bin that can be used instead of FTP. more>>
UpYours! provides a simple file upload cgi-bin that can be used instead of FTP.
Sometimes, you just need to upload a file and you dont have your crypto bits handy.In this day and age, people should always use scp (or pscp.exe) to copy files around, but users are users, and even clueful people sometimes find themselves in a position where its not easy, convenient or even possible to use anything but a stupid web interface (a kiosk on a conference floor for example).
UpYours! is a simple solution to this problem.The idea is to provide a way for file uploads to occur that:
(a) doesnt leak information about the server to the (potentially malicious) client;
(b) does not present anything useful to people who want to use the server as a drop-point for files;
(c) does not open the server up to DoS attacks;
(d) is simple to use, and can be deployed over http and https;
(e) does not force the client to reveal any secret information
<<lessSometimes, you just need to upload a file and you dont have your crypto bits handy.In this day and age, people should always use scp (or pscp.exe) to copy files around, but users are users, and even clueful people sometimes find themselves in a position where its not easy, convenient or even possible to use anything but a stupid web interface (a kiosk on a conference floor for example).
UpYours! is a simple solution to this problem.The idea is to provide a way for file uploads to occur that:
(a) doesnt leak information about the server to the (potentially malicious) client;
(b) does not present anything useful to people who want to use the server as a drop-point for files;
(c) does not open the server up to DoS attacks;
(d) is simple to use, and can be deployed over http and https;
(e) does not force the client to reveal any secret information
Download (0.015MB)
Added: 2007-04-05 License: Freely Distributable Price:
936 downloads
IceBreaker 1.2.1
IceBreaker project is an addictive action-puzzle game involving bouncing penguins. more>>
IceBreaker project is an addictive action-puzzle game involving bouncing penguins.
IceBreaker is an action-puzzle game in which you must capture penguins from an Antarctic iceberg so they can be shipped to Finland, where they are essential to a secret plot for world domination.
To earn the highest Geek Cred, trap them in the smallest space in the shortest time while losing the fewest lives. IceBreaker was inspired by (but isnt an exact clone of) Jezzball by Dima Pavlovsky.
Enhancements:
- little bits of code cleanup
- slightly increase bonus for clearing more than 80 on higher levels to help counteract the fact that having more penguins make that more and more impossible
<<lessIceBreaker is an action-puzzle game in which you must capture penguins from an Antarctic iceberg so they can be shipped to Finland, where they are essential to a secret plot for world domination.
To earn the highest Geek Cred, trap them in the smallest space in the shortest time while losing the fewest lives. IceBreaker was inspired by (but isnt an exact clone of) Jezzball by Dima Pavlovsky.
Enhancements:
- little bits of code cleanup
- slightly increase bonus for clearing more than 80 on higher levels to help counteract the fact that having more penguins make that more and more impossible
Download (0.055MB)
Added: 2006-11-06 License: GPL (GNU General Public License) Price:
659 downloads
Keep It Secret! Keep It Safe! 0.21.1
KisKis is an easy-to-use password manager written in JAVA. more>>
Keep It Secret! Keep It Safe! (KisKis) is an easy-to-use password manager written in JAVA. So it runs on any platform with an appropriate Java-Virtual-Machine available (Windows, Linux, Solaris, ...).
It allows the user to manage passwords for many different purposes such as
network or internet accounts, credit-card-pin-numbers and password-secured-files. The accounts can be grouped hierarchically within a tree structure.
Each account can be described by multiple attributes (user name, URL, ...) and comments. The history of each password change can be tracked. Users can define their own account templates. Multiple file-attachments can be added to each account.
All passwords are stored in a single XML-file encrypted by a single "master- password". The encryption algorithm suffices the OpenPGP-standard, so you can verify the implementation with GPG or PGP. That means: You dont just have to believe me that your secrets are kept safe.
New passwords can be generated automatically in two distinct ways. The first is a secure approach generating totally randomized passwords, the second generates much more readable passwords.
<<lessIt allows the user to manage passwords for many different purposes such as
network or internet accounts, credit-card-pin-numbers and password-secured-files. The accounts can be grouped hierarchically within a tree structure.
Each account can be described by multiple attributes (user name, URL, ...) and comments. The history of each password change can be tracked. Users can define their own account templates. Multiple file-attachments can be added to each account.
All passwords are stored in a single XML-file encrypted by a single "master- password". The encryption algorithm suffices the OpenPGP-standard, so you can verify the implementation with GPG or PGP. That means: You dont just have to believe me that your secrets are kept safe.
New passwords can be generated automatically in two distinct ways. The first is a secure approach generating totally randomized passwords, the second generates much more readable passwords.
Download (5.6MB)
Added: 2007-03-22 License: GPL (GNU General Public License) Price:
947 downloads
Invade Earth Server 2.7.9
Invade Earth Server is a server for the Invade Earth game, for network play. more>>
Invade Earth Server is a server for the Invade Earth game, for network play.
Main features:
- Multiple rule sets and maps:
- Invade Earth A.D. 2210
- Amoeba Invasion Expansion
- Mars Expansion
- Pantheon Expansion (our version of Risk: Godstorm) (coming soon)
- Classic
- Secret Mission
- Custom rule values
- A versatile Map Editor
- Several built-in AIs (play against the computer)
- Network support (play against your friends)
- A centralized list of open internet games
- Save and load game states, even over a network
- Watch a replay of saved games
<<lessMain features:
- Multiple rule sets and maps:
- Invade Earth A.D. 2210
- Amoeba Invasion Expansion
- Mars Expansion
- Pantheon Expansion (our version of Risk: Godstorm) (coming soon)
- Classic
- Secret Mission
- Custom rule values
- A versatile Map Editor
- Several built-in AIs (play against the computer)
- Network support (play against your friends)
- A centralized list of open internet games
- Save and load game states, even over a network
- Watch a replay of saved games
Download (MB)
Added: 2006-08-07 License: GPL (GNU General Public License) Price:
1173 downloads
TinyCrypt 0.41
TinyCrypt is a NEW encryption algorithm, not written by an expert, nor significantly peer-reviewed. more>>
TinyCrypt is a NEW encryption algorithm, not written by an expert, nor significantly peer-reviewed. For protecting critical data, please consider alternatives until TinyCrypt is proven.
That said, if youre just having fun, or have data that is more easily stolen while youre away from your computer having lunch, feel free to continue...
The point of TinyCrypt is to both compress and encrypt your file VERY quickly... faster than your computer can read and write the file. Its compression is based on the super-fast LZO compression library.
TinyCrypt is meant to be simple, fast, and secure. By secure, we mean secure enough for typical commercial use, not TOP SECRET documents. The core encryption file is only 59 lines of code. The core function within this file is 14 lines, including comment header. Feel free to read through it to get familiar with it. Its very simple, and very fast. The SimpleCrypt utility (included with TinyCrypt) uses just this encryption code to protect data.
TinyCrypt attempts to insure high security, using the ultra-fast SimpleCrypt hashing algorithm plus extra steps: First, it compresses the data using the fast LZO compression library. Then, it diffuses the data and obfuscates it using a 256-byte random key and the SimpleCrypt algorithm.
The random key is then prepended to the obfuscated data for later use in decrypting. Finally the obfuscated data is re-encrypted using the users key and the SimpleCrypt algorithm. This approach deflects know-plaintext attacks, reduces the encrypted file size, and is still blazing fast.
Enhancements:
- Added -c flag
<<lessThat said, if youre just having fun, or have data that is more easily stolen while youre away from your computer having lunch, feel free to continue...
The point of TinyCrypt is to both compress and encrypt your file VERY quickly... faster than your computer can read and write the file. Its compression is based on the super-fast LZO compression library.
TinyCrypt is meant to be simple, fast, and secure. By secure, we mean secure enough for typical commercial use, not TOP SECRET documents. The core encryption file is only 59 lines of code. The core function within this file is 14 lines, including comment header. Feel free to read through it to get familiar with it. Its very simple, and very fast. The SimpleCrypt utility (included with TinyCrypt) uses just this encryption code to protect data.
TinyCrypt attempts to insure high security, using the ultra-fast SimpleCrypt hashing algorithm plus extra steps: First, it compresses the data using the fast LZO compression library. Then, it diffuses the data and obfuscates it using a 256-byte random key and the SimpleCrypt algorithm.
The random key is then prepended to the obfuscated data for later use in decrypting. Finally the obfuscated data is re-encrypted using the users key and the SimpleCrypt algorithm. This approach deflects know-plaintext attacks, reduces the encrypted file size, and is still blazing fast.
Enhancements:
- Added -c flag
Download (0.004MB)
Added: 2007-05-24 License: Public Domain Price:
885 downloads
Data::Serializer 0.41
Data::Serializer package contains modules that serialize data structures. more>>
Data::Serializer package contains modules that serialize data structures.
SYNOPSIS
use Data::Serializer;
$obj = Data::Serializer->new();
$obj = Data::Serializer->new(
serializer => Storable,
digester => MD5,
cipher => DES,
secret => my secret,
compress => 1,
);
$serialized = $obj->serialize({a => [1,2,3],b => 5});
$deserialized = $obj->deserialize($serialized);
print "$deserialized->{b}n";
Provides a unified interface to the various serializing modules currently available. Adds the functionality of both compression and encryption.
EXAMPLES
Please see Data::Serializer::Cookbook(3)
METHODS
new - constructor
$obj = Data::Serializer->new();
$obj = Data::Serializer->new(
serializer => Data::Dumper,
digester => SHA-256,
cipher => Blowfish,
secret => undef,
portable => 1,
compress => 0,
serializer_token => 1,
options => {},
);
new is the constructor object for Data::Serializer objects.
The default serializer is Data::Dumper
The default digester is SHA-256
The default cipher is Blowfish
The default secret is undef
The default portable is 1
The default encoding is hex
The default compress is 0
The default compressor is Compress::Zlib
The default serializer_token is 1
The default options is {} (pass nothing on to serializer)
serialize - serialize reference
$serialized = $obj->serialize({a => [1,2,3],b => 5});
Serializes the reference specified.
Will compress if compress is a true value.
Will encrypt if secret is defined.
deserialize - deserialize reference
$deserialized = $obj->deserialize($serialized);
Reverses the process of serialization and returns a copy of the original serialized reference.
freeze - synonym for serialize
$serialized = $obj->freeze({a => [1,2,3],b => 5});
thaw - synonym for deserialize
$deserialized = $obj->thaw($serialized);
raw_serialize - serialize reference in raw form
$serialized = $obj->raw_serialize({a => [1,2,3],b => 5});
This is a straight pass through to the underlying serializer, nothing else is done. (no encoding, encryption, compression, etc)
raw_deserialize - deserialize reference in raw form
$deserialized = $obj->raw_deserialize($serialized);
This is a straight pass through to the underlying serializer, nothing else is done. (no encoding, encryption, compression, etc)
secret - specify secret for use with encryption
$obj->secret(mysecret);
Changes setting of secret for the Data::Serializer object. Can also be set in the constructor. If specified than the object will utilize encryption.
portable - encodes/decodes serialized data
Uses encoding method to ascii armor serialized data
Aids in the portability of serialized data.
compress - compression of data
Compresses serialized data. Default is not to use it. Will compress if set to a true value $obj->compress(1);
serializer - change the serializer
Currently have 8 supported serializers: Storable, FreezeThaw, Data::Denter, Config::General, YAML, PHP::Serialization, XML::Dumper, and Data::Dumper.
Default is to use Data::Dumper.
Each serializer has its own caveats about usage especially when dealing with cyclical data structures or CODE references. Please see the appropriate documentation in those modules for further information.
cipher - change the cipher method
Utilizes Crypt::CBC and can support any cipher method that it supports.
digester - change digesting method
Uses Digest so can support any digesting method that it supports. Digesting function is used internally by the encryption routine as part of data verification.
compressor - changes compresing module
This method is included for possible future inclusion of alternate compression method Currently Compress::Zlib is the only supported compressor.
encoding - change encoding method
Encodes data structure in ascii friendly manner. Currently the only valid options are hex, or b64.
The b64 option uses Base64 encoding provided by MIME::Base64, but strips out newlines.
serializer_token - add usage hint to data
Data::Serializer prepends a token that identifies what was used to process its data. This is used internally to allow runtime determination of how to extract Serialized data. Disabling this feature is not recommended.
options - pass options through to underlying serializer
Currently is only supported by Config::General, and XML::Dumper.
my $obj = Data::Serializer->new(serializer => Config::General,
options => {
-LowerCaseNames => 1,
-UseApacheInclude => 1,
-MergeDuplicateBlocks => 1,
-AutoTrue => 1,
-InterPolateVars => 1
},
) or die "$!n";
or
my $obj = Data::Serializer->new(serializer => XML::Dumper,
options => { dtd => 1, }
) or die "$!n";
store - serialize data and write it to a file (or file handle)
$obj->store({a => [1,2,3],b => 5},$file, [$mode, $perm]);
or
$obj->store({a => [1,2,3],b => 5},$fh);
Serializes the reference specified using the serialize method and writes it out to the specified file or filehandle.
If a file path is specified you may specify an optional mode and permission as the next two arguments. See IO::File for examples.
Trips an exception if it is unable to write to the specified file.
retrieve - read data from file (or file handle) and return it after deserialization
my $ref = $obj->retrieve($file);
or
my $ref = $obj->retrieve($fh);
Reads first line of supplied file or filehandle and returns it deserialized.
<<lessSYNOPSIS
use Data::Serializer;
$obj = Data::Serializer->new();
$obj = Data::Serializer->new(
serializer => Storable,
digester => MD5,
cipher => DES,
secret => my secret,
compress => 1,
);
$serialized = $obj->serialize({a => [1,2,3],b => 5});
$deserialized = $obj->deserialize($serialized);
print "$deserialized->{b}n";
Provides a unified interface to the various serializing modules currently available. Adds the functionality of both compression and encryption.
EXAMPLES
Please see Data::Serializer::Cookbook(3)
METHODS
new - constructor
$obj = Data::Serializer->new();
$obj = Data::Serializer->new(
serializer => Data::Dumper,
digester => SHA-256,
cipher => Blowfish,
secret => undef,
portable => 1,
compress => 0,
serializer_token => 1,
options => {},
);
new is the constructor object for Data::Serializer objects.
The default serializer is Data::Dumper
The default digester is SHA-256
The default cipher is Blowfish
The default secret is undef
The default portable is 1
The default encoding is hex
The default compress is 0
The default compressor is Compress::Zlib
The default serializer_token is 1
The default options is {} (pass nothing on to serializer)
serialize - serialize reference
$serialized = $obj->serialize({a => [1,2,3],b => 5});
Serializes the reference specified.
Will compress if compress is a true value.
Will encrypt if secret is defined.
deserialize - deserialize reference
$deserialized = $obj->deserialize($serialized);
Reverses the process of serialization and returns a copy of the original serialized reference.
freeze - synonym for serialize
$serialized = $obj->freeze({a => [1,2,3],b => 5});
thaw - synonym for deserialize
$deserialized = $obj->thaw($serialized);
raw_serialize - serialize reference in raw form
$serialized = $obj->raw_serialize({a => [1,2,3],b => 5});
This is a straight pass through to the underlying serializer, nothing else is done. (no encoding, encryption, compression, etc)
raw_deserialize - deserialize reference in raw form
$deserialized = $obj->raw_deserialize($serialized);
This is a straight pass through to the underlying serializer, nothing else is done. (no encoding, encryption, compression, etc)
secret - specify secret for use with encryption
$obj->secret(mysecret);
Changes setting of secret for the Data::Serializer object. Can also be set in the constructor. If specified than the object will utilize encryption.
portable - encodes/decodes serialized data
Uses encoding method to ascii armor serialized data
Aids in the portability of serialized data.
compress - compression of data
Compresses serialized data. Default is not to use it. Will compress if set to a true value $obj->compress(1);
serializer - change the serializer
Currently have 8 supported serializers: Storable, FreezeThaw, Data::Denter, Config::General, YAML, PHP::Serialization, XML::Dumper, and Data::Dumper.
Default is to use Data::Dumper.
Each serializer has its own caveats about usage especially when dealing with cyclical data structures or CODE references. Please see the appropriate documentation in those modules for further information.
cipher - change the cipher method
Utilizes Crypt::CBC and can support any cipher method that it supports.
digester - change digesting method
Uses Digest so can support any digesting method that it supports. Digesting function is used internally by the encryption routine as part of data verification.
compressor - changes compresing module
This method is included for possible future inclusion of alternate compression method Currently Compress::Zlib is the only supported compressor.
encoding - change encoding method
Encodes data structure in ascii friendly manner. Currently the only valid options are hex, or b64.
The b64 option uses Base64 encoding provided by MIME::Base64, but strips out newlines.
serializer_token - add usage hint to data
Data::Serializer prepends a token that identifies what was used to process its data. This is used internally to allow runtime determination of how to extract Serialized data. Disabling this feature is not recommended.
options - pass options through to underlying serializer
Currently is only supported by Config::General, and XML::Dumper.
my $obj = Data::Serializer->new(serializer => Config::General,
options => {
-LowerCaseNames => 1,
-UseApacheInclude => 1,
-MergeDuplicateBlocks => 1,
-AutoTrue => 1,
-InterPolateVars => 1
},
) or die "$!n";
or
my $obj = Data::Serializer->new(serializer => XML::Dumper,
options => { dtd => 1, }
) or die "$!n";
store - serialize data and write it to a file (or file handle)
$obj->store({a => [1,2,3],b => 5},$file, [$mode, $perm]);
or
$obj->store({a => [1,2,3],b => 5},$fh);
Serializes the reference specified using the serialize method and writes it out to the specified file or filehandle.
If a file path is specified you may specify an optional mode and permission as the next two arguments. See IO::File for examples.
Trips an exception if it is unable to write to the specified file.
retrieve - read data from file (or file handle) and return it after deserialization
my $ref = $obj->retrieve($file);
or
my $ref = $obj->retrieve($fh);
Reads first line of supplied file or filehandle and returns it deserialized.
Download (0.025MB)
Added: 2007-07-12 License: Perl Artistic License Price:
834 downloads
Secleted [ 0 ] software to compare
Copyright Notice:
Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future software development. The above your secret admirer search only lists software in full, demo and trial versions for free download. Download links are directly from our mirror sites or publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed