fix kdf init array
This commit is contained in:
		| @@ -17,8 +17,8 @@ render_rooms_wrapper(); | ||||
|  | ||||
| function init_ratchets(order, user_pubkey) { | ||||
|     let dh_ratchet = new keccakKDF() | ||||
|     let key_1 =  dh_ratchet.init(sharedsecret[user_pubkey], new Uint8Array(0)); | ||||
|     let key_2 = dh_ratchet.next(); | ||||
|     let key_1 = concatUint8Arrays(dh_ratchet.init(sharedsecret[user_pubkey], new Uint8Array(0)), dh_ratchet.next(), dh_ratchet.next()); | ||||
|     let key_2 = concatUint8Arrays(dh_ratchet.next(), dh_ratchet.next(), dh_ratchet.next()); | ||||
|     dh_ratchets[user_pubkey] = dh_ratchet; | ||||
|     let sending_ratchet = new keccakKDF(); | ||||
|     let receiving_ratchet = new keccakKDF(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user