Skip to content

Commit

Permalink
code: change kdf output length
Browse files Browse the repository at this point in the history
  • Loading branch information
xstelea committed Jun 20, 2024
1 parent 15b8145 commit 2747638
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ describe('Curve25519', () => {
})

expect(sharedSecretResult.value).toBe(
'e9278143a272e9cce596335d0f29e0194305a2a00b57501bc4c21a432d5c2b49264231657e186b6e70a13da4bbf23be6',
'e9278143a272e9cce596335d0f29e0194305a2a00b57501bc4c21a432d5c2b49',
)
})
})
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const Curve25519: KeyPairProvider = (
sharedSecret,
Buffer.from(dAppDefinitionAddress, 'utf-8'),
'RCfM',
48,
32,
)
return ok(toHex(derived))
} catch (error) {
Expand Down

0 comments on commit 2747638

Please sign in to comment.