Questions tagged [encryption]
The encryption tag has no summary.
254 questions
0
votes
0
answers
24
views
Outbound email attachment encryption
We want to send confidential attachments outbound from SalesForce. Ideally this would be as a link so that the files can be removed in the event of an issue (e.g. incorrect addressee or attachment) ...
0
votes
0
answers
65
views
Is an Digital Experience Site File Upload Ever "In-Transit?"
I would like to replicate the security of an end-to-end file service like sendsafely using a Salesforce digital experience/portal/community site file upload for logged-in external user over HTTPS.
I ...
0
votes
0
answers
36
views
Salesforce to Salesforce deliverability connection name and email encrypted
We have multiple orgs and have Salesforce to Salesforce connections between them. In some of our orgs the name and email address of the user to be sent notifications from the connection has been ...
0
votes
0
answers
190
views
Fetch principal values from External Credential without callout
Is there a way to access principal's authentication details from ExternalCredential in apex.
I tried:
ConnectApi.ExternalCredential ec = ConnectApi.NamedCredentials.getExternalCredential('GCP_Key');
...
2
votes
1
answer
82
views
Encryption via managed package
In my current project we are trying to redirect a logged in user from a webpage to a salesforce community page with guest user access. We want the community page to recognize the user and so we are ...
0
votes
0
answers
98
views
Apex decrytion error: "System.SecurityException: Given final block not properly padded. Such issues can arise if a bad key is used during decryption." [duplicate]
I am having some problem implementing a decryting function using a secret key and hash iv. I have a working code snippet in java script, but when I try to implement the function in apex, I get this ...
2
votes
1
answer
522
views
Validating Hubspot webhook request signature in Apex
I'm new here and I'm hoping to get some guidance on the proper way to write this in Apex. I have a webhook coming from Hubspot and I'm receiving it successfully in Salesforce using an apex class ...
1
vote
2
answers
5k
views
Is all our Salesforce data Encrypted At Rest in various Orgs?
We are going through a thorough security audit and I cannot get a straight answer from Salesforce, just boilerplate with lots of sales jargon.
Due to acquisitions, we have lots of Orgs.
In our orgs ...
0
votes
2
answers
553
views
PGP encryption/decryption of a text file in salesforce
I want to encrypt a text file with bank details and want some specific user or team can decrypt those with the private key. How to achieve this using PGP.
0
votes
1
answer
448
views
File encryption using Crypto in apex
I am trying to encrypt and decrypt file using apex but getting below error while decryption of file. Goal is to encrypt the file in salesforce and send it to third party. Third party should be able to ...
1
vote
1
answer
651
views
Decrypt Symmetrically/Asymmetrically Encrypted Data in MS SQL (T-SQL) Server via Apex Crypto Class
Hope you're doing well. Recently, I have been working on a project and haven't been able to find a solution to this problem.
What I want to achieve is: To decrypt the data in Apex using the crypto ...
2
votes
2
answers
1k
views
Encrypt in Marketing Cloud - Decrypt in Salesforce
I'm reading the documentation and I'm confused because functions in MC and SF have a different number of parameters (salt and password in MC, key in SFDC). Salesforce offers 3 versions of AES ...
0
votes
1
answer
1k
views
Where do I get the Salesforce Marketing Cloud "Public Key" for PGP Encryption?
I remember this used to be "Google-able". For some reason, I can't seem to locate the answer via Google. I have a client that needs to send over their data to Marketing Cloud's SFTP site and ...
-1
votes
1
answer
54
views
Is it possible for two instances of the SHA256 encryption to be equal?
We are using SHA256 encryption in an email, the idea is that the Subscriber key will be the email address, and when it comes to click through urls we’d include the hashed value of the email (using ...
0
votes
1
answer
1k
views
Encrypt string with supplied Hex key
I am trying to encrypt a string using AES256 then converting it to Hex.
I am supplied a Hex key so I tried going online and converting the Hex to text and using that value in my class but I keep ...
2
votes
0
answers
124
views
How can you build detokenization of data coming into Salesforce via a custom API integration?
Background:
We are building an API integration fully custom between Salesforce and an internal resource to return PII data onto our Case record on page load. The internal resource will return ...
0
votes
1
answer
3k
views
AES Encryption in Ampscript
I want to encrypt a string using AES encryption in ampscript. I am using EncryptSymmetric function that uses AES algorithm as mentioned in the following documentation : https://developer.salesforce....
0
votes
1
answer
240
views
Encrypt the FormURL varaible on form Submission [closed]
I have create the contact us cloud page using the ampscript, created two cloud page one is the main page which pre-populate the form values and on form submission it will redirect to thank you page ...
0
votes
1
answer
782
views
Why are Custom object Name Field and date fields (Deterministic Encryption) not allowed to be encrypted?
I read a lot of documentation regarding Shield Platform Encryption and I can't find any statement in regards to why some of these custom Object Name Field and date fields (Deterministic Encryption) ...
1
vote
1
answer
225
views
How to encrypt customer data in managed package so that the package developer cannot see it
I have a requirement to store sensitive customer information in a protected custom setting in our installed package.
From my understanding through this answer the information should be encrypted ...
0
votes
1
answer
620
views
How to encrypt sent data using the XMLHttpRequest and retrieve it via AMPscript?
Our client is looking for a preference center where there is no page refreshing, the user click on submit and a message pops up
I did not do this before, so I made an example to achive this, with a ...
0
votes
0
answers
237
views
Encryption data via API
I have a scenario where they have to pass data to Marketing Cloud via API, so I created an API call that allows me to insert records into a DE, in the following JSON:
{
"items": [{
&...
4
votes
2
answers
3k
views
How can I encrypt a string in Apex in a way that an external system can decrypt using C#?
Our security team has found an issue in our lightning experience site where a link to an external system is adding the account # in the URL. That system is then using that account # to display data on ...
0
votes
1
answer
712
views
Is it possible to decrypt a message in APEX using asymmetric RSA algorithm? [closed]
I know that Salesforce supports symmetric AES-based encryption(Crypto Class). What if I need to decrypt a message in salesforce which is encrypted using asymmetric RSA?
1
vote
1
answer
966
views
Scratch Org setup Deterministic Encryption
I get the following error when pushing my source to a scratch org.
Deterministic encryption not available
I have a permission set assign to my scratch org user that gives me ManageEncryptionKeys.
I ...