Skip to content

Commit

Permalink
remove extra sha256
Browse files Browse the repository at this point in the history
  • Loading branch information
ShreyanJain9 committed Feb 23, 2024
1 parent 288f41e commit 4bd6c09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/hexpds/didplc.ex
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ defmodule Hexpds.DidPlc do
do:
{:ok,
privkey
|> Hexpds.K256.PrivateKey.sign(:crypto.hash(:sha256, cbor))
|> Hexpds.K256.PrivateKey.sign(cbor)
|> Base.url_encode64()
|> String.replace("=", "")}
end
Expand Down

0 comments on commit 4bd6c09

Please sign in to comment.