SHA1 hash depends on calendar system in use?
SHA1 hash depends on calendar system in use?
- Subject: SHA1 hash depends on calendar system in use?
- From: Graham Cox <email@hidden>
- Date: Sun, 15 Feb 2009 23:06:24 +1100
I have some code using the openssl library to perform some public-key
decryption. I'm finding that the calendar system in use (Gregorian vs.
Hebrew say, as set in System Preferences) affects the outcome of
performing a SHA1 hash on some arbitrary data. Is this to be expected?
It seems weird to me - it makes it difficult to compare hashes on
machines not set to the same calendar system that the hash was created
on.
--Graham
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden