The crypto tag has no wiki summary.
0
votes
0answers
58 views
Crypto Class & Private/Public Keys & Certificate
Has anyone used AES256 to encrypt and store Highly confidential data in force.com Database. What are the steps to follow? Help me with some insights into private/public keys and certificates, which of ...
2
votes
2answers
80 views
Salesforce OAuth and Client Network Configuration Changes
Can this be true that if we use Salesforce OAuth to grant login to a desktop app, then after validating and receiving tokens -> access, refresh etc) if client workstation switches Internet Connections ...
2
votes
1answer
134 views
Get first 16 Bytes from Blob object decoded from Base64
I have to call an external REST service and I have to decode the response.
From external service documentation I think I have to decode the response with AES algorithm in this way:
public static ...
1
vote
1answer
126 views
Why do I get 'PKIX path building failed' exception with my callout?
Error message :PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Hello all please see the above ...
1
vote
1answer
169 views
Oauth 1.0 oauth_signature generation and header creation for the authentication of external system
Can anybody help me with the oauth 1.0 oauth_signature generation from the client secret and consumer key? I have got client secret and consumer key along with the oauth token. Just need helping hand ...
3
votes
2answers
2k views
Sample Java class to decrypt AES128 encryption
Looking for some sample Java code that decrypts AES encrypted string. I'm trying to encrypt using Apex's Crypto class and decrypt using Java.
7
votes
1answer
278 views
Mimic MySQL AES_ENCRYPT in Apex
I am trying to mimic the MySQL AES_ENCRYPT function in Apex code. However the issue I am having is that MySQL doesn't use an initialization vector. Is there a way to replicate this behavior in Apex?
...
