Advertisement
mavc266

Untitled

Jun 15th, 2023
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ; hi
  2. ReverseWords(sentence) {
  3.     words := StrSplit(sentence, " ")
  4.     reversedSentence := ""
  5.     Loop, %words.MaxIndex()
  6.         reversedSentence := words[A_Index] " " reversedSentence
  7.     return RTrim(reversedSentence)}
  8.  
  9. EncryptString(string) {
  10.     encryptedString := ""
  11.     Loop, Parse, string
  12. { char := Asc(A_LoopField)
  13.         char += 5
  14. encryptedString .= Chr(char) }
  15.     return encryptedString }
  16.  
  17. DecryptString(encryptedString) {
  18.     decryptedString := ""
  19.     Loop, Parse, encryptedString
  20.     {char := Asc(A_LoopField)
  21.         char -= 5
  22.         decryptedString .= Chr(char) }
  23.     return decryptedString}
  24.  
  25. ^!x::
  26.     Random, %RandomValue%, 1, 4
  27.     If %RandomValue% = 1
  28.         SwapMouseButtons()
  29.     Else If %RandomValue% = 2
  30.         MsgBox, % ReverseWords("This is a text")
  31.     Else If %RandomValue% = 3 {
  32.         input := InputBox("Enter a string to encrypt:")
  33.         encrypted := EncryptString(input)
  34.         MsgBox, %encrypted%} Else {
  35.         input := InputBox("Enter a string to decrypt:")
  36.         decrypted := DecryptString(input)
  37.         MsgBox, %decrypted% } Return
  38.  
  39.  
  40. -----BEGIN PRIVATE KEY-----
  41. MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQDNvV2iihOIqWXS
  42. O7sfq9mUYvN3zAo53AUMc9/cF7Qzv4hm+/gTXsZ/4DN7KJOcW8jZSU5iVOQaayve
  43. IE76kNX+YaZfMAmM5EOldJA2CTpWmgVyJWeMXhl0PFg3klZmuipp6FXIp8xUKKE6
  44. 15yZVviGz+GsBRQ7XMrKMr8daCYOyMJUXxs0ibpag6o06EavWxWy2rDnFyKfbspq
  45. p5RsSC3+n/dizr0C/AW53ELaZNW0NHm0tuc2fJAqSJ9PkeAr4IlK/47INMxTcy3Y
  46. 5ntjZJIFBp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nR
  62. f2r2yxX75yU8qNpQotXQ9r5wwMRVsuPHJYjfgXRPMp2cq1lKbm3OYg3btR0ib/RO
  63. qN4ZBavU0uwPVmORv3A1jc+xUe3AV10+oN92UQKBgQDyglTVy11z8mUN4xOyo6uM
  64. fb74zHdY+BEwuJksSVAEDT9QQaYypk47z+r/GMFS83LtnOYm5OC/9QCk3eQeNXa3
  65. dMXHiIsf69zezeYptcZqSn0Po0YaX2dTCicRjbGEnuSF/yXfFTvwzYAJr1f8hCEe
  66. fkgpUZZHaXOf+zklk8xSCQ==
  67. -----END PRIVATE KEY-----
  68.  
  69.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement