public static void decryptAsync ( String encrypted , String password , RNCryptorNativeCallback RNCryptorNativeCallback ) { String decrypted ; try { decrypted = new RNCryptorNative ( ) . decrypt ( encrypted , password ) ; RNCryptorNativeCallback . done ( decrypted , null ) ; } catch ( Exception e ) { RNCryptorNativeCallback . done ( null , e ) ; } }
Decrypts encrypted base64 string and returns via callback