Top "Mcrypt" questions

MCrypt, and the accompanying libmcrypt, are intended to be replacements for the old Unix crypt, except that they are under the GPL and support an ever-wider range of algorithms and modes.

Installing mcrypt with PHP on mac

I am trying to install the mcrypt extension for PHP on my mac. I used the homebrew command to install …

php mcrypt
Decrypting strings in Python that were encrypted with MCRYPT_RIJNDAEL_256 in PHP

I have a function in PHP that encrypts text as follows: function encrypt($text) { $Key = "MyKey"; return trim(base64_encode(…

php python encryption mcrypt
Issue with PHP mcrypt function

I use the following function to decrypt data on my server: function decrypt($key, $text) { return trim(mcrypt_decrypt(MCRYPT_…

php mcrypt
mcrypt_encrypt to openssl_encrypt, and OPENSSL_ZERO_PADDING problems

I have this mcrypt_encrypt call, for a given $key, $message and $iv: $string = mcrypt_encrypt(MCRYPT_3DES, $key, $message, …

php openssl mcrypt 3des php-openssl
PHP: Mcrypt - which mode?

I've been testing out the various modes available in PHP's mcrypt function. ECB is the mode used in most tutorials, …

php encryption mcrypt
Sending an mcrypt-encrypted string via a URL parameter - decoded text is mangled

I'm messing with a simple authorization scheme. I think the easiest way to do it without SSL or other HTTP …

php ajax get mcrypt
AES encryption in php and then decryption with Javascript (cryptojs)

I'm searching for a way to make a 2 way encryption of a simple text (5 to 6 numbers and/or characters). The …

php javascript encryption mcrypt cryptojs
How to install mcrypt extension on mac os x yosemite (10.10)

I've updated my Mac OS X to Yosemite, but doing that I over write all my dev environment. So now, …

macos laravel mcrypt
Adding mcrypt to Plesk

I am running Plesk v8.2.0 and I have a program that needs mcrypt module installed but I cant find any …

php plesk mcrypt
Encryption: Use of initialization vector vs key?

I am using PHP's mcrypt library and the AES-256 (rijndael) algorithm, which requires both a key + initialization vector to run. …

php security encryption cryptography mcrypt