net.rim.pushsdk.pushappmgmt
Interface PasswordEncryptorDecryptor

All Known Implementing Classes:
DefaultPasswordEncryptorDecryptorImpl

public interface PasswordEncryptorDecryptor

Interface for encrypting and decrypting passwords, for example, for persistence in a database.

Author:
mhogan

Method Summary
 String decrypt(String password)
          Decrypts a password.
 String encrypt(String password)
          Encrypts a password.
 

Method Detail

encrypt

String encrypt(String password)
Encrypts a password.

Parameters:
password - the plain text password
Returns:
the encrypted password

decrypt

String decrypt(String password)
Decrypts a password.

Parameters:
password - the encrypted password
Returns:
the plain text password


Copyright © 2011 Research In Motion. All Rights Reserved.