Class GiniCrypto
- java.lang.Object
-
- net.gini.android.authorization.crypto.GiniCrypto
-
public abstract class GiniCrypto extends java.lang.Object
Created by Alpar Szotyori on 08.10.2018. Copyright (c) 2018 Gini GmbH.
-
-
Constructor Summary
Constructors Constructor Description GiniCrypto()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
decrypt(java.lang.String encrypted)
java.lang.String
encrypt(java.lang.String text)
static GiniCrypto
newInstance(android.content.SharedPreferences sharedPreferences, android.content.Context context)
-
-
-
Method Detail
-
newInstance
public static GiniCrypto newInstance(@NonNull android.content.SharedPreferences sharedPreferences, @NonNull android.content.Context context)
-
encrypt
public java.lang.String encrypt(@NonNull java.lang.String text) throws GiniCryptoException
- Throws:
GiniCryptoException
-
decrypt
public java.lang.String decrypt(@NonNull java.lang.String encrypted) throws GiniCryptoException
- Throws:
GiniCryptoException
-
-