mcrypt
PHP: Storing base_64 data in cookies
I need to store some data in a cookie. The data goes through mcrypt encryption and then base64 to prevent any strange characters being used.[详细]
2023-02-13 09:22 分类:问答Encryption: Use of initialization vector vs key?
I am using PHP\'s mcrypt library and theAES-256 (rijndael) algorithm, which requires both a key + initialization vector to run.[详细]
2023-02-13 01:11 分类:问答PHP: Storing the result of mcrypt
I\'ve just setup Mcrypt properly in my framework and thought it would be sweet to be able to store Encrypted sessions, but I\'ve just can\'t get it to work. It[详细]
2023-02-12 23:23 分类:问答Encryption: Testing that a string is properly decrypted?
Here\'s a theoretical one that not only applies to PHP, but probably to more languages. Let\'s say that I encrypt a string with the mcrypt library using and the AES-256 cipher. The string, encrypted,[详细]
2023-02-12 22:37 分类:问答Appserv mcrypt with windows 7
i have already uncomment in php.ini i 开发者_StackOverflow社区have already put the libmcrypt.dll in system32/[详细]
2023-02-09 05:51 分类:问答Decrypting Text Using AES in CBC Mode
I have this code $td = \\mcrypt_module_open(\\MCRYPT_RIJNDAEL_256, \'\', MCRYPT_MODE_CBC, \'\'); \\mcrypt_generic_init($td, \'12345678901234561234567890123456\', \'12345678901234567890123456789012\'[详细]
2023-02-03 12:28 分类:问答which of these modes : cbc,cfb,ctr,ecb,ncfb,nofb,ofb,stream are secure and which are absolute no-no
By security I mean that encoded string is indistinguishable from random noise and is different on every encryption of the same text so it is impossible to make a guess on encryption algorithm used or[详细]
2023-02-02 14:07 分类:问答International Data Encryption Algorithm(IDEA) in C/Python
I wish to implement IDEA algorithm in one of my programs for encryption purposes. I thought of implementing it at first but quickly gave up the idea as it seemed too complex for me to implement. I sea[详细]
2023-02-02 05:56 分类:问答what are NCFB and NOFB modes for?
I can\'t find it anywhere, w开发者_StackOverflowhen I google it it shows this question posted here. Given that situation I want to ask precisely: What this \"n\" before cfb and ofb means ?This is one[详细]
2023-02-02 04:15 分类:问答php_mcrypt.dll prevents PHP from loading
I am using WEMP (Engine-x / NGINX) and cannot seem to get mcrypt extension to load for phpmyadmin. I\'ve been tring to resolve this issue over an hour. I have tried puting libmcrypt.dll within the PH[详细]
2023-01-31 00:09 分类:问答