Skip to content

Commit

Permalink
result of secureHashFor: is an Integer in GemStone..
Browse files Browse the repository at this point in the history
  • Loading branch information
Johan Brichau committed Sep 1, 2023
1 parent 25c797e commit 95d0f2e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ entityTagFor: aStringOrByteArray
| hash base64 |
hash := GRPlatform current secureHashFor: aStringOrByteArray.
"etags have to be delimited by double quotes"
base64 := GRPlatform current base64Encode: hash.
base64 := GRPlatform current base64Encode: hash asByteArray.
^ String new: base64 size + 2 streamContents: [ :stream |
stream
nextPut: $";
Expand Down

0 comments on commit 95d0f2e

Please sign in to comment.