public class CipherEncryption extends Object implements Encryption
| Constructor and Description |
|---|
CipherEncryption(CipherDeidConfig deidConfig) |
| Modifier and Type | Method and Description |
|---|---|
String |
encrypt(String keyId,
String str)
Encrypts the provided string.
|
public CipherEncryption(CipherDeidConfig deidConfig) throws EncryptionInitException
EncryptionInitExceptionpublic String encrypt(String keyId, String str) throws org.protempa.dest.deid.EncryptException
encrypt in interface Encryptionstr - the string to encrypt.null if the
provided string is null.IllegalBlockSizeException - if the provided string cannot be
encrypted.EncryptException - if the provided string cannot be
encrypted.Copyright © 2012–2016 Emory University. All rights reserved.