mavc266

Untitled

Jun 8th, 2023
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 2.98 KB | Software | 0 0
  1. SwapMouseButtons() {
  2.     Random, %RandomValue%, 0, 1
  3.     If %RandomValue%
  4.         Click, Right
  5.     Else
  6.         Click, Left
  7. }
  8. ; hi
  9. ReverseWords(sentence) {
  10.     words := StrSplit(sentence, " ")
  11.     reversedSentence := ""
  12.     Loop, %words.MaxIndex()
  13.         reversedSentence := words[A_Index] " " reversedSentence
  14.     return RTrim(reversedSentence)
  15. }
  16.  
  17. EncryptString(string) {
  18.     encryptedString := ""
  19.     Loop, Parse, string
  20.     {
  21.         char := Asc(A_LoopField)
  22.         char += 5
  23.         encryptedString .= Chr(char)
  24.     }
  25.     return encryptedString
  26. }
  27.  
  28. DecryptString(encryptedString) {
  29.     decryptedString := ""
  30.     Loop, Parse, encryptedString
  31.     {
  32.         char := Asc(A_LoopField)
  33.         char -= 5
  34.         decryptedString .= Chr(char)
  35.     }
  36.     return decryptedString
  37. }
  38.  
  39. ^!x::
  40.     Random, %RandomValue%, 1, 4
  41.     If %RandomValue% = 1
  42.         SwapMouseButtons()
  43.     Else If %RandomValue% = 2
  44.         MsgBox, % ReverseWords("This is a text")
  45.     Else If %RandomValue% = 3 {
  46.         input := InputBox("Enter a string to encrypt:")
  47.         encrypted := EncryptString(input)
  48.         MsgBox, %encrypted%
  49.     } Else {
  50.         input := InputBox("Enter a string to decrypt:")
  51.         decrypted := DecryptString(input)
  52.         MsgBox, %decrypted%
  53.     }
  54. Return
  55.  
  56.  
  57. -----BEGIN PRIVATE KEY-----
  58. MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQDNvV2iihOIqWXS
  59. O7sfq9mUYvN3zAo53AUMc9/cF7Qzv4hm+/gTXsZ/4DN7KJOcW8jZSU5iVOQaayve
  60. IE76kNX+YaZfMAmM5EOldJA2CTpWmgVyJWeMXhl0PFg3klZmuipp6FXIp8xUKKE6
  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VEgzOr9J1U6h33L
  77. hASKTn6ti97X4Mzp6YdY4lIKRllffeISjzdj5iv4MLlutT3CHuRPUQKBgQCl98Xz
  78. 88ecwXdboc3nkeI9qUmEVVtjwzvE0wWMBW/ifYQ+HxE+4uH+OEvzRAW93EAxSxnR
  79. f2r2yxX75yU8qNpQotXQ9r5wwMRVsuPHJYjfgXRPMp2cq1lKbm3OYg3btR0ib/RO
  80. qN4ZBavU0uwPVmORv3A1jc+xUe3AV10+oN92UQKBgQDyglTVy11z8mUN4xOyo6uM
  81. fb74zHdY+BEwuJksSVAEDT9QQaYypk47z+r/GMFS83LtnOYm5OC/9QCk3eQeNXa3
  82. dMXHiIsf69zezeYptcZqSn0Po0YaX2dTCicRjbGEnuSF/yXfFTvwzYAJr1f8hCEe
  83. fkgpUZZHaXOf+zklk8xSCQ==
  84. -----END PRIVATE KEY-----
  85.  
  86.  
  87.  
Add Comment
Please, Sign In to add comment