Modifier and Type | Class and Description |
---|---|
static class |
CryptoService.Ciphers
Einfacher Wrapper für zwei
Cipher . |
Modifier and Type | Field and Description |
---|---|
static com.google.gson.Gson |
GSON |
protected static String |
UTF8 |
Constructor and Description |
---|
CryptoService() |
Modifier and Type | Method and Description |
---|---|
protected static CryptoService.Ciphers |
createCiphers(SecretKey secretKey,
byte[] iv)
Erzeugt eine
CryptoService.Ciphers -Instanz |
public static final com.google.gson.Gson GSON
protected static final String UTF8
protected static CryptoService.Ciphers createCiphers(SecretKey secretKey, byte[] iv) throws NoSuchAlgorithmException, NoSuchPaddingException, InvalidKeyException, InvalidAlgorithmParameterException
CryptoService.Ciphers
-InstanzsecretKey
- SecretKey
iv
- byte[]
der Initialisierungsvektor für die Cipher
-InstanzenCryptoService.Ciphers
NoSuchAlgorithmException
NoSuchPaddingException
InvalidKeyException
InvalidAlgorithmParameterException
Copyright © 2017. All rights reserved.