Module weak

Source
Expand description

§Zeroing wrappers

These are weak variants of SecretBytes. Basically they are just wrappers around Vec and String with an addition Drop zeroing their contents. These are mostly used inside the API structs and do not provide a 100% guaranty that no sensitive data remains in memory.

After all though: Data send and received via the API is processed by different clients and most likely copy-pasted by to displayed to the user … so there is no 100% guaranty anyway and it would be a waste of effort providing a super-tight security.

Structs§

ZeroingHeapAllocator
ZeroingWords