Skip to content

Instantly share code, notes, and snippets.

@rliuzzi
rliuzzi / EncryptionHelper.java
Last active November 8, 2019 14:46
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;
}