Yes, In Carbon-Core/CryptoUtil class, there are two methods called encrypt()
and decrypt(). You can invoke the encrypt method passing the plain text
password and get it encrypted before storing it in the registry. These
methods use the primary key pair for encryption/decryption.

Hope this helps.

Thanks,
Thilina

On Mon, Feb 28, 2011 at 10:05 AM, Rajika Kumarasiri <[email protected]> wrote:

> I need to store some passwords in GREG. Is there a way to achieve this ?
>
> Rajika
>
> _______________________________________________
> Carbon-dev mailing list
> [email protected]
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Thilina Buddhika
Senior Software Engineer
WSO2 Inc. ; http://wso2.com
lean . enterprise . middleware

phone : +94 77 44 88 727
blog : http://blog.thilinamb.com
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to