• Merve Bulut 8
  • NEWBIE
  • 0 Points
  • Member since 2022

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 2
    Replies
i have a table with 3 column in visualforce page there is one input value and others are output value. When input value is changes, input value and second column value must be multiplied and the third column must show the result for per row. in table i'm using <apex:repeat> and <tr>, <td> tags so how can i do this? thanks.
I'm getting the error when I'm trying to decrypt an encrypted value in line 7.
Blob exampleIv = Blob.valueOf('Example of IV123');
Blob key = Crypto.generateAesKey(128);
Blob data = Blob.valueOf(randStr);
Blob encrypted = Crypto.encrypt('AES128', key, exampleIv, data);
Con.Password__c = String.valueOf(encrypted);

Blob Passwrd = Blob.valueOf(Con.Password__c);
        
Blob decrypted = Crypto.decrypt('AES128', key, exampleIv, Passwrd);
String decryptedString = decrypted.toString();

Can someone suggest how I convert string to Blob?
i have a table with 3 column in visualforce page there is one input value and others are output value. When input value is changes, input value and second column value must be multiplied and the third column must show the result for per row. in table i'm using <apex:repeat> and <tr>, <td> tags so how can i do this? thanks.
I'm getting the error when I'm trying to decrypt an encrypted value in line 7.
Blob exampleIv = Blob.valueOf('Example of IV123');
Blob key = Crypto.generateAesKey(128);
Blob data = Blob.valueOf(randStr);
Blob encrypted = Crypto.encrypt('AES128', key, exampleIv, data);
Con.Password__c = String.valueOf(encrypted);

Blob Passwrd = Blob.valueOf(Con.Password__c);
        
Blob decrypted = Crypto.decrypt('AES128', key, exampleIv, Passwrd);
String decryptedString = decrypted.toString();

Can someone suggest how I convert string to Blob?