function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
chinnuchinnu 

Encryption using Blowfish

Hi,

 

Is there a way to encrypt data using Blowfish algorithm in salesforce ?

 

Please help me in this regard.

 

Thanks

Nagaraj

Ankit AroraAnkit Arora

We have encrypted fields in salesforce, you need to log a case to enable them on your organization. Please visit :

 

http://forceguru.blogspot.com/2011/05/encrypted-fields.html

 

 

Thanks

Ankit Arora

Blog | Facebook | Blog Page

chinnuchinnu

Sorry for not giving enough details ...

 

My requirement is as below ...

 

1. I need to build an xml string ..

2. encrypt the xml string using blowfish algorithm

3. set the encrypted string as a cookie value ...

 

I am done with the first one ...

trying to get the second one, if its possible using apex ?

 

thanks

chinnu

 

dkadordkador

There's no reason you couldn't implement a blowfish algorithm in apex (unless it's very computationally expensive, in which case you may run into governor limits).  There is no standard apex library that does this, as far as I know.

 

You'll have to go into more details about how you want to use cookies, though.

sdetweilsdetweil

when we needed to do this, we had to use a java class/jsp to do the actual encryption. Force doesn't provide support for the Blowfish algorithm.