Poll: What do we do with the Encrypter module?
Build it into CI4 core
Doesn't matter to me
Leave it out of the core
[Show Results]
 
 
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[feature] Encrypter

#21
While encryption is a useful and sometimes necessary tool, it need not be in the core. Thanks for adding this poll option.
CI 3.1 Kubuntu 19.04 Apache 5.x  Mysql 5.x PHP 5.x PHP 7.x
Remember: Obfuscation is a bad thing.
Clarity is desirable over Brevity every time.
Reply

#22
This has certainly stirred a lot of comments, some for & some against the idea of having encryption built into CI4!
The wind is blowing 2:1 in favor of having it, but the poll is flawed in that it did not provide a "not" option in the beginning.

I did a bit of research into other frameworks' handling of encryption, and thought you might find the results interesting.
They follow, alphabetically by framework with encryption...

Laravel 5
- module Encryptions\Encrypter
- Similar to CI4 proposed, tho more methods exposed
- OpenSSL only
- Encryption\EncryptionServiceProvider classes
- Docs at https://laravel.com/docs/5.8/encryption
- very similar to what I am proposing

Yii 2
- Module yii\base\security
- openSSL based
- Encryption/decryption, key derivation, hashing & validation
- Similar to CI3 encryption

Zend 2
- Module Zend\Crypt
- symmetric encryption, bunches of classes; possibly some public/private keypait stuff
- Docs at https://docs.zendframework.com/zend-crypt/
- More complicated and far-reaching than what I am thinking of

CakePHP, FuelPHP & Symfony
- don't appear to address encryption in either the core or standard addins
Reply

#23
@ciadmin,

Thanks for the info. I'm still a fan of keeping it thin and light and if it is needed then obtaining a library/plugin should do the trick.
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
3 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.