You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
How would one implement md5crypt (hashing using md5 + specific salt, prefixing it with "$1$" and doing this 1000 times) in swift?
I can not find any library for this in swift and CryptoKit MD5 function does not have that implemented (my attempts to replicate this were unsuccessful using CryptoKit).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi!
How would one implement md5crypt (hashing using md5 + specific salt, prefixing it with "$1$" and doing this 1000 times) in swift?
I can not find any library for this in swift and CryptoKit MD5 function does not have that implemented (my attempts to replicate this were unsuccessful using CryptoKit).
MD5Crypt function explanation: here
(I have to use MD5 because i try to interface with a specific api that requires passing the credentials as hashed md5 strings.)
Thanks for any help in advance!
Beta Was this translation helpful? Give feedback.
All reactions