[prev in list] [next in list] [prev in thread] [next in thread] 

List:       esb-java-dev
Subject:    Re: [Carbon-dev] Store some encrypted data in GREG
From:       Rajika Kumarasiri <rajika () wso2 ! com>
Date:       2011-02-28 4:56:27
Message-ID: AANLkTi=Sy5_v0=n0RDApeaHaxxtc_AjwggO3XiH_CJYB () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Thanks that helped.

Rajika

On Mon, Feb 28, 2011 at 10:19 AM, Thilina Buddhika <thilinab@wso2.com>wrote:

> 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 <rajika@wso2.com>wrote:
>
>> I need to store some passwords in GREG. Is there a way to achieve this ?
>>
>> Rajika
>>
>> _______________________________________________
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> 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
>

[Attachment #5 (text/html)]

Thanks that helped. <br><br>Rajika<br><br><div class="gmail_quote">On Mon, Feb 28, \
2011 at 10:19 AM, Thilina Buddhika <span dir="ltr">&lt;<a \
href="mailto:thilinab@wso2.com">thilinab@wso2.com</a>&gt;</span> \
wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, \
204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> 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.<div>


<br></div><div>Hope this \
helps.</div><div><br></div><div>Thanks,</div><div>Thilina<br><div><br><div \
class="gmail_quote"><div class="im">On Mon, Feb 28, 2011 at 10:05 AM, Rajika \
Kumarasiri <span dir="ltr">&lt;<a href="mailto:rajika@wso2.com" \
target="_blank">rajika@wso2.com</a>&gt;</span> wrote:<br>


</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, \
204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">I need to store \
some passwords in GREG. Is there a way to achieve this ? <br> <font \
color="#888888"><br>Rajika<br> \
</font><br></div>_______________________________________________<br> Carbon-dev \
mailing list<br> <a href="mailto:Carbon-dev@wso2.org" \
target="_blank">Carbon-dev@wso2.org</a><br> <a \
href="http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev" \
target="_blank">http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev</a><br> \
<br></blockquote></div><br><br clear="all"><br>-- <br>Thilina Buddhika<br>Senior \
Software Engineer<br>WSO2 Inc. ; <a href="http://wso2.com" \
target="_blank">http://wso2.com</a><br>lean . enterprise . middleware<br><br>phone : \
+94 77 44 88 727<br>


blog : <a href="http://blog.thilinamb.com" \
target="_blank">http://blog.thilinamb.com</a><br> </div></div>
</blockquote></div><br>



_______________________________________________
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic