4 ms·
> (Also, how do you erase or overwrite secrets from memory after use in a purely functional language?) Your other concern is valid, but this is easy: Haskell h
by tome 12y ago
> (Also, how do you erase or overwrite secrets from memory after use in a purely functional language?)
Your other concern is valid, but this is easy: Haskell has mutable arrays.
- the_why_of_y 12y agoMutable arrays are not sufficient as they may still be moved to a different location at any time by the garbage collector. Guess the StorableArray is the one that should work here.
- tome 12y agoI don't know the specifics but there are some details here about how to allocate such pinned arrays: http://en.wikibooks.org/wiki/Haskell/Libraries/Arrays#Welcome_to_the_machine http://en.wikibooks.org/wiki/Haskell/Libraries/Arrays#Welcom...