MD5Crypt alternative in swift #977
Unanswered
trivarialthea
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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