Commit bfbe822 Dale Henrichs
committed
1 parent cc64cc8 commit bfbe822 Copy full SHA for bfbe822
File tree 4 files changed +17
-13
lines changed
repository/Zinc-HTTP.package
ZnDigestAuthenticator.class
4 files changed +17
-13
lines changed Original file line number Diff line number Diff line change 1
1
as yet unclassified
2
2
md5Hash: aString
3
-
4
- ^ aString md5sum hex
3
+ | hex hash |
4
+ hex := aString md5sum hex.
5
+ hash := hash hex asLowercase.
6
+ (hash beginsWith: ' 16r' ) ifTrue: [ hash := hash allButFirst: 3 ].
7
+ hash := hash padded: #left to: 32 with: $0 .
8
+ ^ hash
Original file line number Diff line number Diff line change 1
1
{
2
2
"class" : {
3
3
"hasMD5Support" : " SvenVanCaekenberghe 8/18/2011 14:19" ,
4
- "md5Hash:" : " SvenVanCaekenberghe 8/18/2011 14:27 " ,
4
+ "md5Hash:" : " dkh 06/23/2013 06:22 " ,
5
5
"parseAuthRequest:" : " SvenVanCaekenberghe 5/22/2012 10:21" },
6
6
"instance" : {
7
7
"a1for:" : " SvenVanCaekenberghe 8/18/2011 14:03" ,
Original file line number Diff line number Diff line change 1
- SystemOrganization addCategory: # ' Zinc-HTTP-Client-Server' !
2
- SystemOrganization addCategory: # ' Zinc-HTTP-Core' !
3
- SystemOrganization addCategory: # ' Zinc-HTTP-Deprecated' !
4
- SystemOrganization addCategory: # ' Zinc-HTTP-Exceptions' !
5
- SystemOrganization addCategory: # ' Zinc-HTTP-GemStone' !
6
- SystemOrganization addCategory: # ' Zinc-HTTP-Logging' !
7
- SystemOrganization addCategory: # ' Zinc-HTTP-Streaming' !
8
- SystemOrganization addCategory: # ' Zinc-HTTP-Support' !
9
- SystemOrganization addCategory: # ' Zinc-HTTP-Variables' !
1
+ SystemOrganization addCategory: ' Zinc-HTTP-Client-Server' !
2
+ SystemOrganization addCategory: ' Zinc-HTTP-Core' !
3
+ SystemOrganization addCategory: ' Zinc-HTTP-Deprecated' !
4
+ SystemOrganization addCategory: ' Zinc-HTTP-Exceptions' !
5
+ SystemOrganization addCategory: ' Zinc-HTTP-GemStone' !
6
+ SystemOrganization addCategory: ' Zinc-HTTP-Logging' !
7
+ SystemOrganization addCategory: ' Zinc-HTTP-Streaming' !
8
+ SystemOrganization addCategory: ' Zinc-HTTP-Support' !
9
+ SystemOrganization addCategory: ' Zinc-HTTP-Variables' !
Load Diff Large diffs are not rendered by default.
You can’t perform that action at this time.
0 commit comments