You need to sign in to do that
Don't have an account?
PRepaka
encryption and decryption
hi
can u please tell me how to do encryption and decryption in SFDC?
my Requirement is:
When they store data in SFDC that is stored in an encrypted format. Then we want a locally installed encryption and decryption routine that would convert what was stored in the database and display it on the screen. This needs to work within the SFDC UI however the only person that would have the decryption code would be the person that own the PC.
can u please help for doing this encryption and decryption.
Hi,
Even I have a similar issue. i'm able to store the data in encrypted format but when I try and retrieve it back from the object and after decrypting it, it is displayed in the following manner --> e.g. : Blob[16] , where 16 is number of characters in input string.
Please help me with a method in which I can display the decrypted string.
Thanks in advance.
cardnumber is an variable which we have Card_Number__c=cardnumber;
/*
@Param:String to be decrypt
@return:decrypted String
*/
public static String toDecryptString(String cardnumber){
if(cardnumber!= null){
Blob decrypted = EncodingUtil.base64Decode(cardnumber);
return decrypted.toString();
}
return null;
}
Please do guide me in doing decrypting of encrypted custom field.
Regards,
Atif