mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-23 09:58:12 +01:00
Replace buffer.slice() with buffer.subarray()
This commit is contained in:
@@ -325,7 +325,7 @@ function translateMessageKey(key: Uint8Array) {
|
||||
return {
|
||||
cipherKey,
|
||||
macKey,
|
||||
iv: ivContainer.slice(0, 16),
|
||||
iv: ivContainer.subarray(0, 16),
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user