Re: [Dev] Is there a CryptoUtil available in C5?

2017-10-13 Thread Subhashinie Koshalya
, Subhashinie Koshalya <subhashi...@wso2.com > wrote: > Hi all, > > Is there a way to know the maximum length of a string that can be > encrypted using a key in wso2carbon.jks [1] or > securevault.jks [2] while using DefaultSecretRepository.java [3]. > > I have a RS256 enc

Re: [Dev] Is there a CryptoUtil available in C5?

2017-10-12 Thread Subhashinie Koshalya
/DefaultSecretRepository.java Thanks and regards, Subhashinie Intern | Software Engineering WSO2, Inc. : http://wso2.com Email : subhashi...@wso2.com On Mon, Oct 9, 2017 at 5:13 PM, Subhashinie Koshalya <subhashi...@wso2.com> wrote: > Hi Thusitha and Niranjan, > > The requirement is to encryp

Re: [Dev] Is there a CryptoUtil available in C5?

2017-10-09 Thread Subhashinie Koshalya
>> If you want to encrypt/decrypt texts, you can use the secvault. You can >> refer [1] if that is your intention. >> >> [1] https://github.com/wso2/carbon-secvault/blob/master/samp >> les/org.wso2.carbon.secvault.samples.standalone/src/main/ >> java/org/wso2/carbon/secva

[Dev] Is there a CryptoUtil available in C5?

2017-10-09 Thread Subhashinie Koshalya
Hi all, I am supposed to store a token securely. Is there something similar to CryptoUtil [1] available in C5? [1] https://github.com/wso2/carbon-kernel/blob/4.4.x/core/org.wso2.carbon.core/src/main/java/org/wso2/carbon/core/util/CryptoUtil.java