Settings

Theme

Show HN: Memory Safe Argon2 Implementation in Pure Swift 6

github.com

3 points by mimiclone 15 days ago · 2 comments

Reader

mimicloneOP 9 days ago

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.

k-taro56 14 days ago

Where 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?

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection