Re: my $key is sensitive;

2005-10-05 Thread Yuval Kogman
On Mon, Oct 03, 2005 at 22:58:28 -0700, Brent 'Dax' Royal-Gordon wrote: > For the last couple days, I've been implementing a cryptographic > cipher framework for Perl 6. (It's in the Pugs repository if you want > to see it.) Dealing with this sort of algorithm has brought forward a > feature that

Re: my $key is sensitive;

2005-10-05 Thread Carl Franks
Brent, Why not post the original query to p6compiler for their take on it? Carl

Re: my $key is sensitive;

2005-10-05 Thread Rafael Garcia-Suarez
Brent 'Dax' Royal-Gordon wrote in perl.perl6.language : > > I would like "is sensitive" to be defined to mean that any data stored > in that variable, at any level of recursion, will be zeroed out as > soon as it is garbage collected. Particular implementations can add > extra features on top of t

Re: my $key is sensitive;

2005-10-04 Thread Brent 'Dax' Royal-Gordon
Rafael Garcia-Suarez <[EMAIL PROTECTED]> wrote: > So, such a "sensitive" modifier could be added, but its > precise meaning would be highly dependent on the underlying > implementation. Okay, but there needs to be some minimum standard for it, like "the memory in question no longer contains its or

Re: my $key is sensitive;

2005-10-04 Thread Michele Dondi
On Tue, 4 Oct 2005, Rafael Garcia-Suarez wrote: language like C. So, such a "sensitive" modifier could be added, but its precise meaning would be highly dependent on the underlying implementation. It would be of interest more to a perl programmer than to a Perl programmer. Like keys() as an l

Re: my $key is sensitive;

2005-10-04 Thread Rafael Garcia-Suarez
Brent 'Dax' Royal-Gordon wrote in perl.perl6.language : > Basically, I'd like to be able to mark a variable as "sensitive" or > "secret". This implies that the language should overwrite the memory > it uses before deallocating it, and that if possible it should tell > the virtual memory system to

my $key is sensitive;

2005-10-03 Thread Brent 'Dax' Royal-Gordon
For the last couple days, I've been implementing a cryptographic cipher framework for Perl 6. (It's in the Pugs repository if you want to see it.) Dealing with this sort of algorithm has brought forward a feature that I think Perl 6 and Parrot ought to support. Basically, I'd like to be able to