Data::Encrypted v.0.07

Advertisement
Advertisement

Data::Encrypted is a Perl module to transparently store encrypted data via RSA. SYNOPSIS # functional interface: use Data::Encrypted file => "./.$0-encrypted-data", qw(encrypted), # note: login and password are not *really* the login and # password values, only the desired prompt! my $login = encrypted(login), my $password = encrypted(password), # script continues, connecting to some secure resource (database, # website, etc). __END__ # alternative, OO interface: use Data::Encrypted, my $enc = new Data::Encrypted file => "./.$0-encrypted-data", my $login = $enc->encrypted(login), my $password = $enc->encrypted(password), $enc->finished(), # close and release lock on storage file # script continues, connecting to some secure resource (database, # website, etc). __END__ [ then, back at the command line: ] % myscript.pl Data::Encrypted value for login not found, please enter: ***** Data::Encrypted value for password not found, please enter: ******** [ script merrily continues ... ] % myscript.pl [ script merrily continues, no prompting this time ... ] Often when dealing with external resources (database engines, ftp, telnet, websites, etc), your Perl script must supply a password, or other sensitive data, to the other system. This requires you to either continually prompt the user for the data, or to store the information (in plaintext) within your script. Youd rather not have to remember the connection details to all your different resources, so youd like to store the data somewhere. And if you share your script with anyone (as any good open-source developer would), youd rather not have your password or other sensitive information floating around. Data::Encrypted attempts to fill this small void with a simple, yet functional solution to this common predicament. It works by prompting you (via Term::ReadPassword) once for each required value, but only does so the first time you run your script, thereafter, the data is stored encrypted in a secondary file. Subsequent executions of your script use the encrypted data directly, if possible, otherwise it again prompts for the data. Currently, Data::Encrypted achieves encryption via an RSA public-key cryptosystem implemented by Crypt::RSA, using (by default) your own SSH1 public and private keys.

Data::Encrypted is a Perl module to ...

 
  • Data::Encrypted
  • 0.07
  • Aaron J Mackey
  • Any Platform
  • Perl Artistic
  • 7 Kb
  • 153
 
 

Review Data::Encrypted

  • captcha
 
 
New Components & Libraries software
  • Mgosoft PDF Security SDK  v.9.6.3Mgosoft PDF Security is a simple, stand-alone application that can help you decrypt password-protected pdf files or help your encrypt your pdf files.
  • 1D Barcode VCL Components  v.9.1.1.2110The components set is designed for generating and printing barcode in your Delphi or C++ Builder application. Most popular linear and postal barcode symbologies are supported. Database functionality and most popular reports are supported.
  • 2D Barcode FMX Components  v.6.1.1.789A FireMonkey components set designed for generating 2D barcode symbols including QRCode, PDF417 etc. The database function is supported, OS X, 32/64-bit iOS, Android, 32/64-bit Windows are supported. Delphi/C++Builder XE2-XE8 are supported.
  • CAD .NET: DWG DXF CGM PLT library for C#  v.12A library for developing solutions in .NET environment. It enables to import, visualize, create, edit, exportg and print drawings. CAD .NET supports different formats including AutoCAD DWG (up to 2018) , DXF, CGM, PLT, PDF, WMF, BMP, EMF, etc.
  • Data-XRay  v.2.0Data-XRay 2.0 is an advanced program which satisfies you with a set of programs to display the raw contents of CD-ROM and DVD-ROM (CD-XRay), disks (Disk-XRay) and files (File-Xray). The programs know about some special structures of such datasets, ...
  • DataBar Fontware  v.1.1.0.3DataBar Fontware 1.1.0.3 is designed to be a creative and simple-to-use font-based solution to print GS1 DataBar symbols. DataBar, formerly known as Reduced Space Symbology (RSS), is a GS1-endorsed solution to encode 14-digit GTIN numbers alongside ...