Quantcast
Channel: Common Language Runtime Internals and Architecture forum
Viewing all articles
Browse latest Browse all 1710

Converting a SecureString object to byte array in .net

$
0
0

Hi

We are using SecureString to store passwords in the memory. However, I didn't find any secured way to convert the SecureString to the byte array. Is there a way to do this?

The idea is that i do not want to get the byte array via converting SecureString->String->byte array as string is immutable, but byte array can be easily cleared from memory after the work is done.

 

Thanks



Viewing all articles
Browse latest Browse all 1710

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>