mirror of
https://github.com/oxen-io/session-android.git
synced 2025-12-12 03:22:31 +00:00
Tagify RedPhone classes.
// FREEBIE
This commit is contained in:
@@ -40,10 +40,8 @@ public class Otp {
|
||||
mac.init(key);
|
||||
|
||||
return Base64.encodeBytes(mac.doFinal((counter+"").getBytes()));
|
||||
} catch (NoSuchAlgorithmException nsae) {
|
||||
} catch (NoSuchAlgorithmException | InvalidKeyException nsae) {
|
||||
throw new AssertionError(nsae);
|
||||
} catch (InvalidKeyException e) {
|
||||
throw new AssertionError(e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user