Better HN
topnewbestaskshowjobs
Log inSign up

dimitri1995

0 karma · joined Apr 22, 2017 (9y ago) · 2 submissions

Submissions

comment 9y ago · link · parent

Not really, you're suppose to use memguard to create a slice then an address is returned; there is no original data.

comment 9y ago · link · parent

https://github.com/jedisct1/libsodium/blob/be5e5a53b35961e32...

They either do SecureZeroMemory for windows, memset or bzero for linux and in worst cases they manually wipe the array which is what memguard does, so, how is sodium_memzero any better in this case?