com.jdroid.java.utils
Class EncryptionUtils

java.lang.Object
  extended by com.jdroid.java.utils.EncryptionUtils

public class EncryptionUtils
extends Object


Constructor Summary
EncryptionUtils()
           
 
Method Summary
static String decrypt(String seed, String encrypted)
           
static String encrypt(String seed, String cleartext)
           
static byte[] toBytes(String hexString)
           
static String toHex(byte[] bytes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EncryptionUtils

public EncryptionUtils()
Method Detail

encrypt

public static String encrypt(String seed,
                             String cleartext)

decrypt

public static String decrypt(String seed,
                             String encrypted)

toBytes

public static byte[] toBytes(String hexString)

toHex

public static String toHex(byte[] bytes)


Copyright © 2014. All rights reserved.