3 ms·
Show HN: Memory Safe Argon2 Implementation in Pure Swift 6
- k-taro56 5mo agoWhere is `verify` and `secureWipe` func? I just found `unsecureWipe` func as `secureWipe` func in argon2-swift. Did you just forget to remove an internal state?
- mimiclone 5mo agok-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.