Skip to content

Commit

Permalink
Parameter signature: use SHA256 hexdigest
Browse files Browse the repository at this point in the history
  • Loading branch information
dankimio committed Nov 1, 2016
1 parent 9b89841 commit 06cb88f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tinkoff/request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def prepare_params
# Params signature
def token
values = @params.values.join
Digest::SHA256.digest(values)
Digest::SHA256.hexdigest(values)
end

def default_params
Expand Down

0 comments on commit 06cb88f

Please sign in to comment.