Replying to
@epixoip@infosec.exchange @noahtheduke@indieweb.social @sc00bz@infosec.exchange
Re: secret scrubbing, prevention of swapping to disk, etc. in gc languages:
This can sometimes be accomplished by calling directly down into OS mem mgmt functions, often handled by standard libraries.
One example: C#/dotnet has a SecureString class. On Windows, SecureString.Clear() calls the Win32 API SecureZeroMemory()
*I have no information on whether this type of thing is actually done in the case of Bitwarden, cross-platform disclaimers apply, YMMV, etc.