Tagify RedPhone classes.

// FREEBIE
This commit is contained in:
Moxie Marlinspike
2015-09-21 12:07:57 -07:00
parent 826dc601c1
commit 4fb5c6dd9a
17 changed files with 117 additions and 116 deletions

View File

@@ -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);
}
}
}