[Python-ideas] Secure string disposal (maybe other inmutable seq types too?)

Greg Ewing greg.ewing at canterbury.ac.nz
Sat Jun 23 20:14:19 EDT 2018


Paul Moore wrote:

> a = SafeStr("my secret data")
> ... work with a as if it were a string
> del a

But in order to create the SafeStr, you need to first have
the data in the form of an ordinary non-safe string. How
do you dispose of that safely?

-- 
Greg


More information about the Python-ideas mailing list