Skip to content
This repository was archived by the owner on Feb 23, 2021. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@ String decrypted = rncryptor.decrypt(encrypted, password)

String password = "StrongGeneratedPasswordxD";

RNCryptorNative.encryptAsync("test", password, new RNCryptorNative.Callback() {
RNCryptorNative.encryptAsync("test", password, new RNCryptorNative.RNCryptorNativeCallback() {
@Override
public void done(String encrypted, Exception e) {
System.out.println("encrypted async: " + encrypted);
}
});

//Decrypt
RNCryptorNative.decryptAsync(encrypted, password, new RNCryptorNative.Callback() {
RNCryptorNative.decryptAsync(encrypted, password, new RNCryptorNative.RNCryptorNativeCallback() {
@Override
public void done(String decrypted, Exception e) {
System.out.println("decrypted async: " + decrypted);
Expand Down