org.filteredpush.client.util
Class Encryptor

java.lang.Object
  extended by org.filteredpush.client.util.Encryptor

public class Encryptor
extends java.lang.Object

Get the hash code of the string with the algorithm SHA-1. It's used to encode the user password stored in the local database. It's also used to generate the hashcode for the user's mailbox.

Author:
Lei Dou $Id: $

Constructor Summary
Encryptor()
           
 
Method Summary
static java.lang.String SHA1(java.lang.String str)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Encryptor

public Encryptor()
Method Detail

SHA1

public static java.lang.String SHA1(java.lang.String str)