mirror of
https://github.com/oxen-io/session-android.git
synced 2025-01-11 21:53:43 +00:00
Typo
This commit is contained in:
parent
842df1ac39
commit
3c3028c8e3
@ -58,7 +58,7 @@ public class HKDF {
|
|||||||
private SecretKeySpec deriveMacKey(byte[] okm) {
|
private SecretKeySpec deriveMacKey(byte[] okm) {
|
||||||
byte[] macKey = new byte[32];
|
byte[] macKey = new byte[32];
|
||||||
System.arraycopy(okm, MAC_KEYS_OFFSET, macKey, 0, macKey.length);
|
System.arraycopy(okm, MAC_KEYS_OFFSET, macKey, 0, macKey.length);
|
||||||
return new SecretKeySpec(macKey, "HmacSHA1");
|
return new SecretKeySpec(macKey, "HmacSHA256");
|
||||||
}
|
}
|
||||||
|
|
||||||
private byte[] extract(byte[] salt, byte[] inputKeyMaterial) {
|
private byte[] extract(byte[] salt, byte[] inputKeyMaterial) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user