Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Crypt::TripleDES(3)   User Contributed Perl Documentation  Crypt::TripleDES(3)

NAME
       Crypt::TripleDES	- Triple DES encyption.

SYNOPSIS
	my $des	= new Crypt::TripleDES;
	my $cyphertext = $des->encrypt3	( $plaintext, $passphrase );
	my $plaintext =	$des->decrypt3 ( $cyphertext, $passphrase );

DESCRIPTION
       This module implements 3DES encryption in ECB mode. The code is based
       on Eric Young's implementation of DES in	pure perl. It's	quite slow
       because of the way Perl handles bit operations and is not recommended
       for use with large texts.

METHODS
       new The constructor.

       encrypt3	$plaintext, $passphrase
	   Encrypts the	plaintext string using the passphrase. Whitespace
	   characters are appended to the string if its	length is not a
	   multiple of eight. User applications	can correct for	this by
	   storing plaintext size with the cyphertext. The passphrase is an
	   ASCII character string of upto 48 characters.

       decrypt3	$cyphertext, $passphrase
	   Inverse of encrypt3().

AUTHOR
	Vipul Ved Prakash, mail@vipul.net
	Eric Young, eay@psych.psy.uq.oz.au

	Patches:
	Jonathan Mayer <jmayer@cobaltnet.com>

perl v5.32.1			  1999-10-13		   Crypt::TripleDES(3)

NAME | SYNOPSIS | DESCRIPTION | METHODS | AUTHOR

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Crypt::TripleDES&sektion=3&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help