Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [encryption]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-1 votes
1 answer
22 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 ...
user avatar
0 votes
0 answers
15 views

Integration batch job + Data Encryption : Need some suggestion

I have written a batch job to push Open Case record every one hr from Salesforce to External system using REST API. I need to Encrypte the data and push it to the external system. Below is the Class ...
user avatar
  • 659
0 votes
1 answer
32 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 ...
user avatar
  • 125
0 votes
1 answer
83 views

Verify ECDSA signature from Ethereum signed message hash

For my use case I need to verify a ECDSA signature from a signed Ethereum message. From the front end, the message is first converted into a Sha3/keccac256 hash using web3.js with below method: https:/...
user avatar
  • 1
2 votes
0 answers
40 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 ...
user avatar
-1 votes
1 answer
37 views

Salesforce Shield Encryption - official video showing invalid information

I was looking into Salesforce Shield Encryption. Apparently Salesforce Shield Encryption does not mask any data, but encrypts the data at rest, which means only at the database level. Anyone who has ...
user avatar
-1 votes
1 answer
208 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....
user avatar
-2 votes
1 answer
50 views

Need Help on Encryption and decryption logic [closed]

I wanted to write exact below java code in apex. I am aware of EncodingUtil.base64Decode() and Crypto class method in SF. But this byte array and Cipher, etc , am not aware of it. class Encyrpt{ ...
user avatar
0 votes
1 answer
44 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 ...
user avatar
0 votes
1 answer
96 views

Implementing encryption within Aura Component

I am very familiar with Apex Crypto class and it works pretty well. Now that I am trying to make my Aura component work more efficiently without making Server calls to encrypt/decrypt a large JSON ...
user avatar
0 votes
1 answer
162 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) ...
user avatar
0 votes
1 answer
57 views

Error While Decrypting the URL

I'm facing below error while decrypting the URL. "System.StringException: Unrecognized base64 character: %" Below is my Encryption & decryption code. public static string encryption(...
user avatar
  • 3
1 vote
1 answer
95 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 ...
user avatar
  • 2,584
0 votes
1 answer
37 views

How to use encrypted subscriber_key from abandoned cart DE in journey?

Abandoned cart configuration has been setup in Marketing cloud. Tracking code has been added in the website and all the necessary implementations are carried out on Marketing cloud end. Behavioral ...
user avatar
0 votes
1 answer
111 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 ...
user avatar
  • 160
0 votes
0 answers
178 views

Incorrect token in Salesforce Marketing Cloud (401)

I would like the get the External Key of the Data Extension related to the Journey Builder. From this step, I need to use the REST API integration and WSProxy. Then, to call the REST API, I need to ...
user avatar
  • 23
0 votes
0 answers
33 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": [{ &...
user avatar
2 votes
1 answer
77 views

Shield encrypted field, unencrypted results?

If a field is encrypted with Shield, can we get the unencrypted value with Apex classes/SOQL statements?
user avatar
  • 23
4 votes
2 answers
753 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 ...
user avatar
0 votes
1 answer
213 views

Passing Client Id and Client Secret in URL as Encrypted String for AppExchange App

We are developing an AppExchange application which integrates with external application .Every customer has a connected app because of different branding and different and different callback URLs. ...
user avatar
-1 votes
1 answer
208 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?
user avatar
0 votes
1 answer
112 views

Encryption for HTTP Rest Call

I am trying a simple rest call from one instance of salesforce to another. Server Endpoint URL is on https. I want to confirm, will making such call to https endpoint alone, encrypt the Endpoint ...
user avatar
  • 3
1 vote
1 answer
296 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 ...
user avatar
  • 2,698
0 votes
1 answer
227 views

Bring Your Own Key (BYOK) - Configure Marketing Cloud

Before having configured the DB encryption with BYOK (Bring your own key) it is possible to work, develop and configure on MC or it is not possible to do anything before having done DB encryption with ...
user avatar
  • 71
0 votes
0 answers
65 views

Secure Data transport to external system

I have a requirement to transmit the integration data via REST API to a legacy system. The client need is to have the data transmission done securely. Wanted to check what would be the best approach ...
user avatar
  • 165
1 vote
1 answer
65 views

Use of the managed Ini Vector in the Apex Crypto Class

I am wondering about when to use the managedIv method in the Apex crypto class. I noticed that if I use the managedIv method with a key from the Apex generateAESKey() method my results are always a ...
user avatar
0 votes
1 answer
286 views

Bad Base64 encoding error while creating SSH key in Marketing Cloud

Does anyone see this error while uploading a public PGP key to create SSH key for SFMC SFTP?
user avatar
1 vote
1 answer
85 views

Replicating PHP's bin2hex() function

I am beginning an integration project where the password needs to be encrypted and they have given the php example of using bin2hex(md5('password')). I am trying to replicate php's bin2hex() function, ...
user avatar
  • 85
1 vote
0 answers
148 views

PGP encryption natively or library for Apex

Is there any way to support PGP encryption in Salesforce. I have looked into this question PGP Encryption in Apex but just wanted to confirm is there any new changes that might have allowed PGP in ...
user avatar
  • 3,309
1 vote
1 answer
1k views

Sending large Files to external system

From Salesforce, I am sending files to AWS Server. I am able to successfully achieve it if the file is under 3 to 4 MB. When I try with more than 6 to 7 MB, the file is getting reached to the AWS ...
user avatar
0 votes
1 answer
188 views

Default encryption for CloudPagesURL()

My client would like to know which encryption does CloudPagesURL() use to encrypt the parameters transferred to the Cloud pages. I am talking about the encryption used to transfer parameters to a ...
user avatar
0 votes
0 answers
488 views

How to encrypt to send request to CCAvenue payment gateway

I am trying to send a request to CCAvenue payment gateway, but when I encrypt the data and send them I am getting an error because of wrong encryption. I came to know that its bcz of wrong encryption ...
user avatar
0 votes
0 answers
107 views

How to AES encrypt a link within Marketing Cloud and decrypt it in a third Party system [duplicate]

I currently have the following problem: I am working in a Marketing Cloud Email and need some of my customers attributes to be stored in a Json and then to be aes-256 encrypted. The resulting string ...
user avatar
0 votes
1 answer
455 views

Decrypting a PGP File from SFTP Server

Problem The client that I am working with is asking us to encrypt (Using PGP or GPG) files from marketing cloud and insert them onto an SFTP Server. Then, we should create a separate Node JS ...
user avatar
0 votes
1 answer
719 views

Populate data extension with SH-256 encrypted email addresses

I have a project where I need to deliver hashed email addresses to a vendor for the purposes of data matching. The vendor accepts SHA-256 hashed emails. Is there a way to populate a data extension ...
user avatar
1 vote
3 answers
2k views

How to encrypt text in apex using sha512 algorighm?

I have an urgent business requirement which requires verification of user credentials. We need to encrypt the credentials using sha512 algorithm and then compare it with already encrypted text fields ...
user avatar
0 votes
1 answer
79 views

PGP Encrypted Marketing Cloud e-mails

Can the Marketing Cloud send PGP encrypted e-mails? This is a fairly short question but I couldn't find anything precise on the topic, either in documentation or via Google. The documentation only ...
user avatar
0 votes
0 answers
352 views

Custom Setting vs. Custom Object vs. Custom Metadata Type for Multiple Environment Credentials [duplicate]

I am looking to confirm the best practice of storing client / secret credentials for multiple environments for multiple external webservices within salesforce. Below is the analysis I have done ...
user avatar
  • 1,818
0 votes
1 answer
54 views

AES 128 Encryption

I am trying to generate a AES 128 Key. If i debug the size of the Key it shows as 16 bytes, however, if i debug the key it shows 24 bytes. I am Using below Code to generate key. Blob key = Crypto....
user avatar
0 votes
0 answers
4k views

Testing Encrypted POST and PUT Methods from Postman or Workbench

I have a REST API that needs to send and receive AES(256) encryption. All my HTTP methods pass with encrypted data in my unit tests. But I would like to test the API from Postman. I am running into ...
user avatar
0 votes
1 answer
455 views

Encrypting the password [duplicate]

I have a custom objects which will have user information fields and password fields. Also i have custom LWC (salesforce site) with Username and password. Password has to store in encrypt value. ...
user avatar
0 votes
0 answers
125 views

Encrypted text field issue in the validation rule

I have an encrypted text field called Bank_Account__c used in the validation rule with priorvalue as AND( PRIORVALUE(Bank_Account__c) <> Bank_Account__c , Bank_Account__c <> "") apart from ...
user avatar
-1 votes
2 answers
145 views

Trustpilot encryption process

I am working on the Encryption process. I need to generate encrypted payload by following instructions from the below link: https://support.trustpilot.com/hc/en-us/articles/115004145087--Business-...
user avatar
0 votes
1 answer
354 views

Obfuscate or Encrypt LWC Source Code

I am facing some problems with data injection in LWC where a user is able to set breakpoints in the javascript and change values to get data that they don't have access to. Changes are being made to ...
user avatar
0 votes
0 answers
32 views

Encrypting/decrypting with Crypto class [duplicate]

I have an Apex web service that takes a query string. I need to update this class to take an encrypted string, find the appropriate record in Salesforce, and then return an encrypted JSON response. I ...
user avatar
0 votes
2 answers
2k views

PGP Encryption Marketing Cloud File Transfer

I'm attempting to setup a file transfer activity from the Marketing Cloud Safehouse to our FTP Export Folder, encrypted. However, to do this, I have to enable a 'Customer Public Key'. On the activity ...
user avatar
1 vote
0 answers
224 views

Marketing Cloud - Data encryption with AMPscript encrypt symmetric function [duplicate]

I would like to encrypt subscriber's email address in SFMC during an email send and attach it to the URL. Once the user clicks on that URL, he gots redirected to the website where the encrypted email ...
user avatar
  • 11
0 votes
1 answer
284 views

Encryption querying - Do I need Shield?

We are currently using REST queries to pull data from Salesforce. We would like for some of that data to be encrypted. Is it possible to query encrypted data ? How will it be displayed in the external ...
user avatar
  • 3,720
1 vote
1 answer
185 views

Can I encrypt namedCredential password (!$Credential.Password) with AES encryption key?

I have requirement to encrypt the password that is stored in Named Credentials when making call out to external system. So I'm planning to use AES256 encryption algorithm from crypto class. But is ...
user avatar
  • 13
2 votes
1 answer
539 views

Standard Subscription Center query string encoding

I have been trying to figure out this use case, unfortunately without success: A person logs into a portal (client's own portal, nothing to do with any of the Salesforce platforms) and they have ...
user avatar
  • 10.3k

1
2 3 4 5