Skip to content

Commit

Permalink
_arx: export sigma
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmillr committed May 6, 2024
1 parent 613bf4c commit 5bce492
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/_arx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ const sigma16 = _utf8ToBytes('expand 16-byte k');
const sigma32 = _utf8ToBytes('expand 32-byte k');
const sigma16_32 = u32(sigma16);
const sigma32_32 = u32(sigma32);
export const sigma = sigma32_32.slice();

export function rotl(a: number, b: number): number {
return (a << b) | (a >>> (32 - b));
Expand Down

0 comments on commit 5bce492

Please sign in to comment.