Security.php 882 B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. /**
  3. * @link http://www.yiiframework.com/
  4. * @copyright Copyright (c) 2008 Yii Software LLC
  5. * @license http://www.yiiframework.com/license/
  6. */
  7. namespace yii\helpers;
  8. /**
  9. * Security provides a set of methods to handle common security-related tasks.
  10. *
  11. * In particular, Security supports the following features:
  12. *
  13. * - Encryption/decryption: [[encrypt()]] and [[decrypt()]]
  14. * - Data tampering prevention: [[hashData()]] and [[validateData()]]
  15. * - Password validation: [[generatePasswordHash()]] and [[validatePassword()]]
  16. *
  17. * Additionally, Security provides [[getSecretKey()]] to support generating
  18. * named secret keys. These secret keys, once generated, will be stored in a file
  19. * and made available in future requests.
  20. *
  21. * @author Qiang Xue <[email protected]>
  22. * @author Tom Worster <[email protected]>
  23. * @since 2.0
  24. */
  25. class Security extends BaseSecurity
  26. {
  27. }