public class EncryptionUtil extends Object
Constructor and Description |
---|
EncryptionUtil()
Initializes EncryptionUtil
|
Modifier and Type | Method and Description |
---|---|
String |
decrypt(String toDecrypt)
Provides decryption of a String encrypted using encrypt()
|
String |
encrypt(String toEncrypt)
Provides basic encryption on a String.
|
static void |
main(String[] args)
This main prompts the user to input a string to be encrypted.
|
public EncryptionUtil() throws DuraCloudRuntimeException
Exception
DuraCloudRuntimeException
public String encrypt(String toEncrypt) throws DuraCloudRuntimeException
DuraCloudRuntimeException
public String decrypt(String toDecrypt) throws DuraCloudRuntimeException
DuraCloudRuntimeException
Copyright © 2009–2014 DuraSpace. All rights reserved.