Search the Community
Showing results for tags 'library'.
Found 2 results
Hi all, Im trying to install this core module and got the error of not having the ImageMagick library installed. But if im checking for the version of my ImageMagick installed on my server via SSH im getting this response; identify -version Version: ImageMagick 6.9.4-9 Q16 i386 2016-06-21 http://www.imagemagick.org Copyright: Copyright (C) 1999-2016 ImageMagick Studio LLC License: http://www.imagemagick.org/script/license.php Features: Cipher DPC Delegates (built-in): bzlib freetype gslib jng jpeg png ps tiff xml zlib Does this even mean the library is installed? And if yes, why cant i install my module? Pleaassee help me Greetz.
Hi Guys I have an Question about Encryption/Decryption in Processwire. Does Processwire has an encryption Library which provides two-way data encryption for sensitive data? I mean something like the Encryption Library from Codeligniter. I saw the Password.php class in the core which uses some encryption magic, but I don't think, that the purpose of the password class is to provide a two-way data encryption. Because I don't see how it should be possible that I can read/decrypt the password from the database since it hashed(one-way encryption). Why I need a two-way data encryption or. why I am asking? In the near Future I must make a "Password/-Login Manager(included Customer / project management)" where a Processwire User can create Logins(FTP, MySQL, Processwire Login etc...) and assign them to different Projects. Since the Passwords for the Logins are very sensitive data, they must be stored encrypted in the Database, but they must also be listed in Plaintext in the Password Manager Interface. Because of that I am writing this thread to collect some Information about Encrypting/Decrypting in Processwire and some experience from other developers regarding Encrypting/Decrypting. Why I am developing a Password/-Login Manager? My Company uses Active Collab for managing Customer Logins/Projects etc. It works very well! The Problem is that the Password Manager Plugin doesn't exist anymore in the new update of the Tool. So we decided, that i develop a Password Manager in the beautiful CMS/CMF Processwire. It also serves as a perfect final exam for my education as a apprentice in Web-Developement/Informatics. Finally a Code Snippet regarding the Encryption Library from Codeligniter: include 'Crypter Class/Classes/Encrypt.php'; $data = $page->pwmessage; //normal text field in Processwire $ci_crypter = new CI_Encrypt(); $ci_crypter->set_key("r7kl-icfc-8ext-p"); $ci_crypter->set_cipher(MCRYPT_RIJNDAEL_256); $ci_crypter->set_mode(MCRYPT_MODE_ECB); $ci_encrypted = $ci_crypter->encode($data, $ci_crypter->get_key()); $ci_decrypted = $ci_crypter->decode($ci_encrypted, $ci_crypter->get_key()); $outBody .= "<strong>Original:</strong> ".$data."<br>"; $outBody .= "<strong>Encrypted:</strong> ".$ci_encrypted."<br>"; $outBody .= "<strong>Decrypted:</strong> ".$ci_decrypted."<br>";