There is no native way to do (two-way) encryption in Drupal. There is also not a very standard way of performing encryption in PHP without extensions.
There is not too much need for it, but every once in awhile there is a need to store passwords in a database that need retrieving without a user involved. This module aims to make it easy for a module to keep data secured in an extensible way that does not inherently require any other dependencies.
The method of encryption is passed along with the encryption itself. This means that the default encryption method can change for the site, or developers can choose a specific method.
By default keys are based from the hash that is created for each site in drupal: drupal_private_key.
Unpack in your modules folder (usually '/sites/all/modules/')
Enable under Administer > Site Building > Modules
Go to the administrative settings at Admin > Settings > Encrypt to set the path and a key will be generated. It is highly recommended that the key sit outside the webroot Here are some key features of "Encryption":
· None: which is obviously not the preferred.
· Basic: A simple mathematical encryption method that does not require any PHP extensions.
· Mcrypt AES 256: If Mcrypt is enabled, this encryption method, which is very secure, can be used.
· Drupal 6.x
GPG-Crypter is a graphical front-end to GnuPG(GPG) using the GTK2 toolkit and libgpgme. It was developed to provide easy access to GPG encryption and ...
SGK (Self-Generating Key) Encryption is an innovative one-way encryption algorithm. SGK is similar to other one-way encryption algorithms (commonly kn...
Aes Encryption 1.1
AES (Advanced Encryption Standard) is a symmetric-key encryption standard used by the U.S. government. The included AES algorithm has has no special r...
Fundamental Encryption Example
Fundamental encryption example code shows the skeleton structure of most encryption algorithms in existance....
Cipher Block Encryption
This cipher encryption starts by buffering the message to be encrypted, then separating the buffered string into equal numbered blocks, a random numbe...
This COM-accessible full-featured encryption library supports all of the .NET encryption types because it's made in .NET!Supported encryption types in...
The encryption key used can be from 2 to 900 characters.The encryption pattern for a key 'soft' is not a subset of the encryption pattern for 'softped...
It will accept both strings or files as a key pass. For example, you can use an audio file or an image as your encryption key, or you can just use a s...
Simple Xor Keyword Encryption 1.0
This script shows a very simple keyword encryption algorithm. It produces an encrypted string the same size as the orginal. Not very strong encryption...
Xice Encryption Algorithm Sdk 1.4
The xICE Encryption Algorithm Software Development Kit allows developers of all skill levels to implement xICE encryption into their applications, and...
Rijndael Encryption Algorithm
The Rijndael Encryption algorithm has been recently recognized as an AES (Advanced Encryption Standard). It was recently (April 2001) released in Visu...
Sqlcrypto And Xlsure Encryption Utilities
It combines encryption and salted hashes to use in authentication....
Crypt Script 1.0
This program is designed to encode and decode files (for encryption purposes). It uses a simple encryption method....
Shows very very simple encryption....
Simple Encryption (xor)
This is a very simple encryption code using XOR.There are included three methods of encryption. The first is a user password which the ...
Encrypt4Web allows you to quickly and securely encrypt any type of data to protect not only your intellectual property,but also sensitive information ...
Ami-Encryption will scramble text by add fake text in between chunks of real text. A good alternative to encryption making letters and numbers unreada...
Strong Arm Data Encryption Viewer 1.0.1
Strong Arm Data Encryption Viewerallows you to view encrypted data. It helps you to read the data encrypted into any file by Strong Arm Data Encryptio...
This is a Simple Encryption/Decryption Program that uses The Windows API. It utilizes a Splash Screen, Dialog Password Box, and File Input and Output....
ROT13 Encryption - protect your messages using ROT13 encryption...