Skip to content

Instantly share code, notes, and snippets.

@shanmugasanthosh7
shanmugasanthosh7 / EncryptionHelper.java
Created November 8, 2019 14:46 — forked from rliuzzi/EncryptionHelper.java
Encryption Cheat sheet, pre and post M. Just leaving this here as a demo. I couldn't recommend using different Encryption providers that depend on Android version as encrypted files could be corrupt after a OS update. Use at your own risk. Coded while playing around with this article: https://medium.com/@ericfu/securely-storing-secrets-in-an-and…
package com.zzivi.core.security;
public interface EncryptionHelper {
String encrypt(String input) throws Exception;
String decrypt(String input) throws Exception;
}