You are here

README.txt in Encrypt 6

Same filename and directory in other branches
  1. 7 README.txt
 Encrypt Description
====================================
(Two-way) Encryption Drupal module.  Please see
the following page for more current information:

http://drupal.org/project/encrypt

Encrypt is an API module to provide (two-way)
encryption.  It also provides a system for
other modules to provide encryption methods.


 Installation
====================================
Regular Drupal module installation.  You
can then choose a different default
encryption method here:

admin/settings/encrypt

It is not required, but will actually MAKE
YOU ENCRYPTION SECURE by putting your encryption
key outside of the webroot.  You can choose the 
the directory in the administrative interface.


 API
====================================
encrypt($text, $options, $method, $key)

This encrypts text.  Only the text is needed.
The default method will be used unless specified.
The default key will be used unless specified.

decrypt($text, $options, $method, $key)

This decrypts text.  Only the text is needed.
The default method will be used unless specified.
The default key will be used unless specified.
Since the key and method names are stored with
the encrypted data, it is suggested to not
use any options, so that the correct
method and key can be used.

Please see the following file on how to implement
your own encryption methods:

encrypt.api.php


 Credits
====================================
zzolo (Alan Palazzolo): http://drupal.org/user/147331

File

README.txt
View source
  1. Encrypt Description
  2. ====================================
  3. (Two-way) Encryption Drupal module. Please see
  4. the following page for more current information:
  5. http://drupal.org/project/encrypt
  6. Encrypt is an API module to provide (two-way)
  7. encryption. It also provides a system for
  8. other modules to provide encryption methods.
  9. Installation
  10. ====================================
  11. Regular Drupal module installation. You
  12. can then choose a different default
  13. encryption method here:
  14. admin/settings/encrypt
  15. It is not required, but will actually MAKE
  16. YOU ENCRYPTION SECURE by putting your encryption
  17. key outside of the webroot. You can choose the
  18. the directory in the administrative interface.
  19. API
  20. ====================================
  21. encrypt($text, $options, $method, $key)
  22. This encrypts text. Only the text is needed.
  23. The default method will be used unless specified.
  24. The default key will be used unless specified.
  25. decrypt($text, $options, $method, $key)
  26. This decrypts text. Only the text is needed.
  27. The default method will be used unless specified.
  28. The default key will be used unless specified.
  29. Since the key and method names are stored with
  30. the encrypted data, it is suggested to not
  31. use any options, so that the correct
  32. method and key can be used.
  33. Please see the following file on how to implement
  34. your own encryption methods:
  35. encrypt.api.php
  36. Credits
  37. ====================================
  38. zzolo (Alan Palazzolo): http://drupal.org/user/147331