mcrypt and encrypted field length

From: Date: Mon, 26 Feb 2001 15:49:37 +0000
Subject: mcrypt and encrypted field length
Groups: php.general 
Request: Send a blank email to php-general+get-41692@lists.php.net to get a copy of this message
First, can anyone point me to a good "mcrypt" primer or tutorial? Second, how can I determine what type and length I should make a database field that will hold encrypted data? Is there some table somewhere which tells how long a resulting encrypted field will be based on the encryption type and/or length of the plaintext field? Example: If I have a 20 character field and want to use Triple DES to encrypt it, can I find out how long the resulting field will be - what is the longest it will be? Will the resulting encrypted field always be the same length? Should I make the data type some variation of "text" or "varchar"? TIA. -- Hardy Merrill Mission Critical Linux, Inc. http://www.missioncriticallinux.com

« previous php.general (#41692) next »