Skip to content

Commit

Permalink
Ruby 3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
hanazuki committed Apr 5, 2024
1 parent a129b4e commit 76f697e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-ruby@v1
with:
ruby-version: '3.0'
ruby-version: '3.2'
- uses: actions/setup-node@v1
with:
node-version: '14'
Expand Down
2 changes: 1 addition & 1 deletion lib/md4.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def self.digest(s)
a, b, c, d = 0x67452301, 0xefcdab89, 0x98badcfe, 0x10325476

(0 ... s.bytesize).step(64) do |offset|
x = s.unpack('V16', offset: offset)
x = s.unpack('V16', offset:)
aa, bb, cc, dd = a, b, c, d

[0, 4, 8, 12].each do |k|
Expand Down

0 comments on commit 76f697e

Please sign in to comment.