public final class Encryption extends Object
Modifier and Type | Method and Description |
---|---|
String |
decrypt(String encryptedText) |
String |
encrypt(String clearText) |
String |
generateRandomSecretKey() |
boolean |
hasSecretKey()
Checks the availability of the secret key, that is required to encrypt and decrypt.
|
boolean |
isEncrypted(String value) |
String |
scramble(String clearText) |
public boolean hasSecretKey()
public boolean isEncrypted(String value)
public String generateRandomSecretKey()
Copyright © 2009-2013 SonarSource. All Rights Reserved.