开发者

is there a native alternative to mcrypt?

i need to encrypt some data but i guess mcrypt library is not native in php right? is there 开发者_Go百科a secure and native alternative?

obs: i created my own solution but the performance wasn't good =/


There's a PHP library for Mcrypt. The documentation is here. It should already be installed. If it isn't there are instructions in the documentation on how to install it.


The only native solution is the native solutions :/ You have to compile PHP for it. Alternatively, you could write your own solution in C and use it as an extension. I'm pretty sure those are you only options.


mcrypt

mcrypt support enabled Version 2.5.8 Api No 20021217 Supported ciphers cast-128 gost rijndael-128 twofish arcfour cast-256 loki97 rijndael-192 saferplus wake blowfish-compat des rijndael-256 serpent xtea blowfish enigma rc2 tripledes Supported modes cbc cfb ctr ecb ncfb nofb ofb stream

Directive Local Value Master Value mcrypt.algorithms_dir no value no value mcrypt.modes_dir no value no value

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜