com.norbl.cbp.ppe.usermonitor
Class S3Key

java.lang.Object
  extended by com.norbl.cbp.ppe.usermonitor.S3Key

public class S3Key
extends java.lang.Object


Constructor Summary
S3Key()
           
 
Method Summary
static java.lang.String createPeidKey(java.lang.String key)
          A peid key is an pseudo encrypted string, modified to be an acceptable s3 key.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

S3Key

public S3Key()
Method Detail

createPeidKey

public static java.lang.String createPeidKey(java.lang.String key)
                                      throws java.lang.Exception
A peid key is an pseudo encrypted string, modified to be an acceptable s3 key. Because the encryption key is hardcoded into this class, this method always produces the the same string fro a given key. However, because it is not be decodable. In general it is not secure and we don't care. This is really just a little obfuscation.

Parameters:
key -
Returns:
Throws:
java.lang.Exception