public class Encrypter extends Object
| Modifier and Type | Field and Description |
|---|---|
protected AesCbcWithIntegrity.SecretKeys |
key |
protected SecretKeySpec |
sks |
protected SecretKeySpec sks
protected AesCbcWithIntegrity.SecretKeys key
public Encrypter(String password) throws GeneralSecurityException
GeneralSecurityExceptionpublic String encode(String input) throws UnsupportedEncodingException, GeneralSecurityException
public String encode(byte[] inputBytes)
public String decode(String input) throws UnsupportedEncodingException, GeneralSecurityException
Copyright © 2016. All rights reserved.