{
public static void main(String[] args)
{
System.out.println(\"EncryptedValue:\"+EncryptDecrypt.encrypt(\"Password01\"));
}
}
hi ,
Java script been used for encrypting.. and then copied to the spreadsheet manually ..
public class Encrypter
{
public static void main(String[] args)
{
System.out.println(\"EncryptedValue:\"+EncryptDecrypt.encrypt(\"Password01\"));
}
}
thanks for your response ... if it cant be hidden in Raw response that is fine as of now , we can find a solution later .. can you please assist with the script to encrypt and make the request return response.
thanks in advance .
","body@stripHtml({\"removeProcessingText\":false,\"removeSpoilerMarkup\":false,\"removeTocMarkup\":false,\"truncateLength\":200})@stringLength":"203","kudosSumWeight":0,"repliesCount":1,"postTime":"2017-10-03T15:05:59.907-07:00","lastPublishTime":"2017-10-03T15:05:59.907-07:00","metrics":{"__typename":"MessageMetrics","views":2833},"visibilityScope":"PUBLIC","placeholder":false,"originalMessageForPlaceholder":null,"isEscalated":null,"solution":false,"entityType":"FORUM_REPLY","eventPath":"category:ready_api_forums/community:nwkab66374board:readyapi-questions/message:150460/message:150881","customFields":[],"editFrozen":false,"body@stringLength":"242","rawBody":"thanks for your response ... if it cant be hidden in Raw response that is fine as of now , we can find a solution later .. can you please assist with the script to encrypt and make the request return response.
thanks in advance .
","images":{"__typename":"AssociatedImageConnection","edges":[],"totalCount":0,"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}},"attachments":{"__typename":"AttachmentConnection","pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null},"edges":[]},"timeToRead":1,"currentRevision":{"__ref":"Revision:revision:150881_1"},"latestVersion":null,"messagePolicies":{"__typename":"MessagePolicies","canModerateSpamMessage":{"__typename":"PolicyResult","failureReason":{"__typename":"FailureReason","message":"error.lithium.policies.feature.moderation_spam.action.moderate_entity.allowed.accessDenied","key":"error.lithium.policies.feature.moderation_spam.action.moderate_entity.allowed.accessDenied","args":[]}}}},"ModerationData:moderation_data:150916":{"__typename":"ModerationData","id":"moderation_data:150916","status":"APPROVED","rejectReason":null,"isReportedAbuse":false,"rejectUser":null,"rejectTime":null,"rejectActorType":null},"AcceptedSolutionMessage:message:150916":{"__typename":"AcceptedSolutionMessage","author":{"__ref":"User:user:67012"},"id":"message:150916","revisionNum":1,"uid":150916,"depth":6,"hasGivenKudo":false,"subscribed":false,"board":{"__ref":"Forum:board:readyapi-questions"},"parent":{"__ref":"ForumReplyMessage:message:150881"},"conversation":{"__ref":"Conversation:conversation:150460"},"subject":"Re: Decrypting data to be used in Soap request","moderationData":{"__ref":"ModerationData:moderation_data:150916"},"body":"So you have a piece of code that encrypts the data. You will have to use a groovy script to utilize the appropriate decryption technique to decrypt the data. We cannot help with that, since we do not know the encryption algorithm used. You may have to get the decryption algorithm from whoever set up the encryption code.
\n\n
Once you have that, what I would do is to set up a test case similar to this:
\n\n
Hope that helps!
\n","body@stripHtml({\"removeProcessingText\":true,\"removeSpoilerMarkup\":true,\"removeTocMarkup\":true,\"truncateLength\":200})@stringLength":"203","postTime":"2017-10-04T07:39:27.120-07:00","lastPublishTime":"2017-10-04T07:39:27.120-07:00","images":{"__typename":"AssociatedImageConnection","edges":[],"totalCount":0,"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}},"attachments":{"__typename":"AttachmentConnection","pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null},"edges":[]},"solution":true,"metrics":{"__typename":"MessageMetrics","views":2861},"placeholder":false,"originalMessageForPlaceholder":null,"videos":{"__typename":"VideoConnection","edges":[],"totalCount":0,"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}},"isEscalated":null,"entityType":"FORUM_REPLY","eventPath":"category:ready_api_forums/community:nwkab66374board:readyapi-questions/message:150460/message:150916","customFields":[],"readOnly":false,"editFrozen":false,"body@stringLength":"899","rawBody":"
So you have a piece of code that encrypts the data. You will have to use a groovy script to utilize the appropriate decryption technique to decrypt the data. We cannot help with that, since we do not know the encryption algorithm used. You may have to get the decryption algorithm from whoever set up the encryption code.
\n\n
Once you have that, what I would do is to set up a test case similar to this:
\n\n
Hope that helps!
\n","kudosSumWeight":1,"repliesCount":0,"timeToRead":1,"currentRevision":{"__ref":"Revision:revision:150916_1"},"latestVersion":null,"visibilityScope":"PUBLIC","messagePolicies":{"__typename":"MessagePolicies","canModerateSpamMessage":{"__typename":"PolicyResult","failureReason":{"__typename":"FailureReason","message":"error.lithium.policies.feature.moderation_spam.action.moderate_entity.allowed.accessDenied","key":"error.lithium.policies.feature.moderation_spam.action.moderate_entity.allowed.accessDenied","args":[]}}}},"ModerationData:moderation_data:150539":{"__typename":"ModerationData","id":"moderation_data:150539","status":"APPROVED","rejectReason":null,"isReportedAbuse":false,"rejectUser":null,"rejectTime":null,"rejectActorType":null},"ModerationData:moderation_data:150491":{"__typename":"ModerationData","id":"moderation_data:150491","status":"APPROVED","rejectReason":null,"isReportedAbuse":false,"rejectUser":null,"rejectTime":null,"rejectActorType":null},"User:user:21201":{"__typename":"User","id":"user:21201","login":"nmrao","uid":21201,"deleted":false,"avatar":{"__typename":"UserAvatar","url":"https://community.smartbear.com/t5/s/nwkab66374/m_assets/avatars/default/avatar-5.svg?time=0"},"rank":{"__ref":"Rank:rank:32"},"email":"","messagesCount":8074,"biography":null,"topicsCount":43,"kudosReceivedCount":1576,"kudosGivenCount":782,"kudosWeight":1,"registrationData":{"__typename":"RegistrationData","status":null,"registrationTime":"2013-05-17T20:34:18.000-07:00","confirmEmailStatus":null},"followersCount":null,"solutionsCount":727},"AssociatedImage:{\"url\":\"https://community.smartbear.com/t5/s/nwkab66374/images/cmstMzItVUFqY01K\"}":{"__typename":"AssociatedImage","url":"https://community.smartbear.com/t5/s/nwkab66374/images/cmstMzItVUFqY01K","height":20,"width":20,"mimeType":"image/png"},"Rank:rank:32":{"__typename":"Rank","id":"rank:32","position":5,"name":"Champion Level 2","color":"28B1FD","icon":{"__ref":"AssociatedImage:{\"url\":\"https://community.smartbear.com/t5/s/nwkab66374/images/cmstMzItVUFqY01K\"}"},"rankStyle":"OUTLINE"},"ForumReplyMessage:message:150491":{"__typename":"ForumReplyMessage","id":"message:150491","revisionNum":1,"uid":150491,"depth":1,"hasGivenKudo":false,"subscribed":false,"board":{"__ref":"Forum:board:readyapi-questions"},"conversation":{"__ref":"Conversation:conversation:150460"},"subject":"Re: Decrypting data to be used in Soap request","readOnly":false,"editFrozen":false,"moderationData":{"__ref":"ModerationData:moderation_data:150491"},"body":"It is difficult without knowing how it is encrypted.","body@stringLength":"52","rawBody":"It is difficult without knowing how it is encrypted.","author":{"__ref":"User:user:21201"},"isEscalated":null,"postTime":"2017-09-26T05:22:37.604-07:00","solution":false,"customFields":[],"attachments":{"__typename":"AttachmentConnection","edges":[],"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}},"kudosSumWeight":0,"repliesCount":5,"images":{"__typename":"AssociatedImageConnection","edges":[],"totalCount":0,"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}},"timeToRead":1,"currentRevision":{"__ref":"Revision:revision:150491_1"},"latestVersion":null,"metrics":{"__typename":"MessageMetrics","views":2921},"visibilityScope":"PUBLIC","placeholder":false,"originalMessageForPlaceholder":null,"messagePolicies":{"__typename":"MessagePolicies","canModerateSpamMessage":{"__typename":"PolicyResult","failureReason":{"__typename":"FailureReason","message":"error.lithium.policies.feature.moderation_spam.action.moderate_entity.allowed.accessDenied","key":"error.lithium.policies.feature.moderation_spam.action.moderate_entity.allowed.accessDenied","args":[]}}}},"Revision:revision:150539_1":{"__typename":"Revision","id":"revision:150539_1","lastEditTime":"2017-09-26T16:36:26.458-07:00"},"QueryVariables:ReplyList:message:150539:1":{"__typename":"QueryVariables","id":"ReplyList:message:150539:1","value":{"id":"message:150539","first":10,"sorts":{"kudosSumWeight":{"direction":"DESC","order":0},"postTime":{"direction":"ASC","order":1}},"repliesFirst":3,"repliesFirstDepthThree":1,"repliesSorts":{"kudosSumWeight":{"direction":"DESC","order":0},"postTime":{"direction":"ASC","order":1}},"useAvatar":true,"useAuthorLogin":true,"useAuthorRank":true,"useBody":true,"useKudosCount":true,"useTimeToRead":false,"useMedia":false,"useReadOnlyIcon":false,"useRepliesCount":true,"useSearchSnippet":false,"useAcceptedSolutionButton":true,"useSolvedBadge":false,"useAttachments":false,"attachmentsFirst":5,"useTags":false,"useNodeAncestors":false,"useUserHoverCard":false,"useNodeHoverCard":false,"useModerationStatus":true,"usePreviewSubjectModal":false,"useMessageStatus":true}},"CachedAsset:text:en_US-shared/client/components/users/UserAvatar-1741125846000":{"__typename":"CachedAsset","id":"text:en_US-shared/client/components/users/UserAvatar-1741125846000","value":{"altText":"{login}'s avatar","altTextGeneric":"User's avatar"},"localOverride":false},"CachedAsset:text:en_US-shared/client/components/ranks/UserRankLabel-1741125846000":{"__typename":"CachedAsset","id":"text:en_US-shared/client/components/ranks/UserRankLabel-1741125846000","value":{"altTitle":"Icon for {rankName} rank"},"localOverride":false},"CachedAsset:text:en_US-components/messages/AcceptedSolutionButton-1741125846000":{"__typename":"CachedAsset","id":"text:en_US-components/messages/AcceptedSolutionButton-1741125846000","value":{"accept":"Mark as Solution","accepted":"Marked as Solution","errorHeader":"Error!","errorAdd":"There was an error marking as solution.","errorRemove":"There was an error unmarking as solution.","solved":"Solved","topicAlreadySolvedErrorTitle":"Solution Already Exists","topicAlreadySolvedErrorDesc":"Refresh the browser to view the existing solution"},"localOverride":false},"CachedAsset:text:en_US-components/messages/ThreadedReplyList-1741125846000":{"__typename":"CachedAsset","id":"text:en_US-components/messages/ThreadedReplyList-1741125846000","value":{"title":"{count, plural, one{# Reply} other{# Replies}}","title@board:BLOG":"{count, plural, one{# Comment} other{# Comments}}","title@board:TKB":"{count, plural, one{# Comment} other{# Comments}}","title@board:IDEA":"{count, plural, one{# Comment} other{# Comments}}","title@board:OCCASION":"{count, plural, one{# Comment} other{# Comments}}","noRepliesTitle":"No Replies","noRepliesTitle@board:BLOG":"No Comments","noRepliesTitle@board:TKB":"No Comments","noRepliesTitle@board:IDEA":"No Comments","noRepliesTitle@board:OCCASION":"No Comments","noRepliesDescription":"Be the first to reply","noRepliesDescription@board:BLOG":"Be the first to comment","noRepliesDescription@board:TKB":"Be the first to comment","noRepliesDescription@board:IDEA":"Be the first to comment","noRepliesDescription@board:OCCASION":"Be the first to comment","messageReadOnlyAlert:BLOG":"Comments have been turned off for this post","messageReadOnlyAlert:TKB":"Comments have been turned off for this article","messageReadOnlyAlert:IDEA":"Comments have been turned off for this idea","messageReadOnlyAlert:FORUM":"Replies have been turned off for this discussion","messageReadOnlyAlert:OCCASION":"Comments have been turned off for this event"},"localOverride":false},"Rank:rank:26":{"__typename":"Rank","id":"rank:26","position":9,"name":"Community Hero","color":"00537C","icon":null,"rankStyle":"OUTLINE"},"Revision:revision:150916_1":{"__typename":"Revision","id":"revision:150916_1","lastEditTime":"2017-10-04T07:39:27.120-07:00"},"Revision:revision:150491_1":{"__typename":"Revision","id":"revision:150491_1","lastEditTime":"2017-09-26T05:22:37.604-07:00"},"ModerationData:moderation_data:150824":{"__typename":"ModerationData","id":"moderation_data:150824","status":"APPROVED","rejectReason":null,"isReportedAbuse":false,"rejectUser":null,"rejectTime":null,"rejectActorType":null},"ForumReplyMessage:message:150824":{"__typename":"ForumReplyMessage","uid":150824,"id":"message:150824","revisionNum":1,"author":{"__ref":"User:user:76279"},"readOnly":false,"repliesCount":3,"depth":3,"hasGivenKudo":false,"subscribed":false,"board":{"__ref":"Forum:board:readyapi-questions"},"parent":{"__ref":"ForumReplyMessage:message:150539"},"conversation":{"__ref":"Conversation:conversation:150460"},"subject":"Re: Decrypting data to be used in Soap request","moderationData":{"__ref":"ModerationData:moderation_data:150824"},"body":"
Hi all,
Can anyone Please assist with the issue...
","body@stripHtml({\"removeProcessingText\":false,\"removeSpoilerMarkup\":false,\"removeTocMarkup\":false,\"truncateLength\":200})@stringLength":"59","kudosSumWeight":0,"postTime":"2017-10-02T15:23:41.311-07:00","lastPublishTime":"2017-10-02T15:23:41.311-07:00","metrics":{"__typename":"MessageMetrics","views":2868},"visibilityScope":"PUBLIC","placeholder":false,"originalMessageForPlaceholder":null,"isEscalated":null,"solution":false,"entityType":"FORUM_REPLY","eventPath":"category:ready_api_forums/community:nwkab66374board:readyapi-questions/message:150460/message:150824","replies":{"__typename":"MessageConnection","pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null},"edges":[{"__typename":"MessageEdge","cursor":"MjUuMnwyLjF8b3wzfDE0OjAsMzk6MXwx","node":{"__ref":"ForumReplyMessage:message:150878"}}]},"customFields":[],"attachments":{"__typename":"AttachmentConnection","edges":[],"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}},"editFrozen":false,"body@stringLength":"69","rawBody":"Hi all,
Can anyone Please assist with the issue...
","images":{"__typename":"AssociatedImageConnection","edges":[],"totalCount":0,"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}},"timeToRead":1,"currentRevision":{"__ref":"Revision:revision:150824_1"},"latestVersion":null,"messagePolicies":{"__typename":"MessagePolicies","canModerateSpamMessage":{"__typename":"PolicyResult","failureReason":{"__typename":"FailureReason","message":"error.lithium.policies.feature.moderation_spam.action.moderate_entity.allowed.accessDenied","key":"error.lithium.policies.feature.moderation_spam.action.moderate_entity.allowed.accessDenied","args":[]}}}},"ModerationData:moderation_data:150878":{"__typename":"ModerationData","id":"moderation_data:150878","status":"APPROVED","rejectReason":null,"isReportedAbuse":false,"rejectUser":null,"rejectTime":null,"rejectActorType":null},"ForumReplyMessage:message:150878":{"__typename":"ForumReplyMessage","uid":150878,"id":"message:150878","revisionNum":1,"author":{"__ref":"User:user:67012"},"readOnly":false,"repliesCount":2,"depth":4,"hasGivenKudo":false,"subscribed":false,"board":{"__ref":"Forum:board:readyapi-questions"},"parent":{"__ref":"ForumReplyMessage:message:150824"},"conversation":{"__ref":"Conversation:conversation:150460"},"subject":"Re: Decrypting data to be used in Soap request","moderationData":{"__ref":"ModerationData:moderation_data:150878"},"body":"One of the conditions you gave is to have the data decrypted and NOT visible in the raw request. Unfortunately, as far as I know, you will not be able to get around that. The raw request is going to show the data sent, which would be the decrypted data.
","body@stripHtml({\"removeProcessingText\":false,\"removeSpoilerMarkup\":false,\"removeTocMarkup\":false,\"truncateLength\":200})@stringLength":"203","kudosSumWeight":0,"postTime":"2017-10-03T12:44:37.919-07:00","lastPublishTime":"2017-10-03T12:44:37.919-07:00","metrics":{"__typename":"MessageMetrics","views":2837},"visibilityScope":"PUBLIC","placeholder":false,"originalMessageForPlaceholder":null,"isEscalated":null,"solution":false,"entityType":"FORUM_REPLY","eventPath":"category:ready_api_forums/community:nwkab66374board:readyapi-questions/message:150460/message:150878","replies":{"__typename":"MessageConnection","pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null},"edges":[{"__typename":"MessageEdge","cursor":"MjUuMnwyLjF8b3wxfDE0OjAsMzk6MXwx","node":{"__ref":"ForumReplyMessage:message:150881"}}]},"customFields":[],"editFrozen":false,"body@stringLength":"260","rawBody":"One of the conditions you gave is to have the data decrypted and NOT visible in the raw request. Unfortunately, as far as I know, you will not be able to get around that. The raw request is going to show the data sent, which would be the decrypted data.
","images":{"__typename":"AssociatedImageConnection","edges":[],"totalCount":0,"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}},"attachments":{"__typename":"AttachmentConnection","pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null},"edges":[]},"timeToRead":1,"currentRevision":{"__ref":"Revision:revision:150878_1"},"latestVersion":null,"messagePolicies":{"__typename":"MessagePolicies","canModerateSpamMessage":{"__typename":"PolicyResult","failureReason":{"__typename":"FailureReason","message":"error.lithium.policies.feature.moderation_spam.action.moderate_entity.allowed.accessDenied","key":"error.lithium.policies.feature.moderation_spam.action.moderate_entity.allowed.accessDenied","args":[]}}}},"ModerationData:moderation_data:150881":{"__typename":"ModerationData","id":"moderation_data:150881","status":"APPROVED","rejectReason":null,"isReportedAbuse":false,"rejectUser":null,"rejectTime":null,"rejectActorType":null},"Revision:revision:150878_1":{"__typename":"Revision","id":"revision:150878_1","lastEditTime":"2017-10-03T12:44:37.919-07:00"},"Revision:revision:150881_1":{"__typename":"Revision","id":"revision:150881_1","lastEditTime":"2017-10-03T15:05:59.907-07:00"},"Revision:revision:150824_1":{"__typename":"Revision","id":"revision:150824_1","lastEditTime":"2017-10-02T15:23:41.311-07:00"}}}},"page":"/forums/ForumMessagePage/ForumMessagePage","query":{"boardId":"readyapi-questions","messageSubject":"decrypting-data-to-be-used-in-soap-request","messageId":"150460","replyId":"150539"},"buildId":"k2ra3WbQxEm0ebgjo41Oz","runtimeConfig":{"buildInformationVisible":false,"logLevelApp":"info","logLevelMetrics":"info","openTelemetryClientEnabled":false,"openTelemetryConfigName":"smartbear","openTelemetryServiceVersion":"25.2.0","openTelemetryUniverse":"prod","openTelemetryCollector":"http://localhost:4318","openTelemetryRouteChangeAllowedTime":"5000","apolloDevToolsEnabled":false,"inboxMuteWipFeatureEnabled":false},"isFallback":false,"isExperimentalCompile":false,"dynamicIds":["./components/seo/QAPageSchema/QAPageSchema.tsx","./components/community/Navbar/NavbarWidget.tsx","./components/community/Breadcrumb/BreadcrumbWidget.tsx","./components/messages/TopicWithThreadedReplyListWidget/TopicWithThreadedReplyListWidget.tsx","./components/messages/MessageListForNodeByRecentActivityWidget/MessageListForNodeByRecentActivityWidget.tsx","./components/messages/RelatedContentWidget/RelatedContentWidget.tsx","./components/customComponent/CustomComponent/CustomComponent.tsx","./components/messages/MessageView/MessageViewStandard/MessageViewStandard.tsx","../shared/client/components/common/List/UnstyledList/UnstyledList.tsx","./components/messages/MessageView/MessageView.tsx","./components/messages/MessageView/MessageViewInline/MessageViewInline.tsx","../shared/client/components/common/Pager/PagerLoadMore/PagerLoadMore.tsx","./components/customComponent/CustomComponentContent/TemplateContent.tsx"],"appGip":true,"scriptLoader":[]}