HackerTrans
TopNewTrendsCommentsPastAskShowJobs

mimiclone

no profile record

Submissions

Show HN: Memory Safe Argon2 Implementation in Pure Swift 6

github.com
3 points·by mimiclone·vor 2 Monaten·2 comments

comments

mimiclone
·vor 2 Monaten·discuss
k-taro56: The secureWipe function is at the very bottom of the Argon2.swift file built as an extension for Foundation.Data (and in more recent versions Array where Element == UInt64).

There is no 'verify' function, it was removed prior to initial publication to discourage people using the library as a server-side verifier. There was a remaining reference to it in the README which has since been removed.

I'm not sure what you mean that you found 'unsecureWipe' func in argon2-swift. This is not the name of any function in the codebase.
mimiclone
·vor 2 Monaten·discuss
It's nearly impossible to get away from Xcode entirely. You will always need the simulator and probably some entitlement / asset tools. What you can do is write the bulk of your app as an SPM package using your editor of choice, and then include that as a local or GitHub repo dependency in your Xcode shell app (which has no code, just assets, preview assets and plist files)