You need to sign in to do that
Don't have an account?
Deborah Orth
Secure Secret Storage - Apex class is not implementing a CRUD/FLS check on the Name field of the Encrypt_DecryptC__c object
I've added all these line of code in the Save() method to try to satisfy the "Modify the save() function to implement CRUD/FLS check on the Name field of the Encrypt_Decrypt__c object." requirement but nothing seems to pass it's check. Anyone else run into this or have any ideas?
if (!Schema.sObjectType.EnCrypt_Decrypt__c.fields.Name.isCreateable()) {
return NULL;
}
if (!Schema.sObjectType.EnCrypt_Decrypt__c.fields.Name.isUpdateable()) {
return NULL;
}
if (!Schema.sObjectType.EnCrypt_Decrypt__c.fields.Name.isAccessible()) {
return NULL;
}
Thanks,
Deb
if (!Schema.sObjectType.EnCrypt_Decrypt__c.fields.Name.isCreateable()) {
return NULL;
}
if (!Schema.sObjectType.EnCrypt_Decrypt__c.fields.Name.isUpdateable()) {
return NULL;
}
if (!Schema.sObjectType.EnCrypt_Decrypt__c.fields.Name.isAccessible()) {
return NULL;
}
Thanks,
Deb
All Answers
Click the Apex Controller link at the bottom of the page to open the EncryptChallenge Apex class.
Modify the save() function to implement CRUD/FLS check on the Name field of the Encrypt_Decrypt__c object.
Modify the Save function to encrypt the lovers' messages. Use cryptoKey as the crypto key to encrypt data and implement AES256 as the encryption cipher in Crypto.encryptWithManagedIV() function.
Modify the DecryptData function to decrypt the lovers' messages. Modify the DecryptData function and use AES256 with cryptoKey as the crypto key to decrypt data. Decrypt the data using AES256 as the decryption cipher in Crypto.decryptWithManagedIV() function.
This Code works for me.
but app doesn't work with that object. Encription decription happens only with Encrypt_DecryptC__c for Apex encryption challenge tab(((.