Advertisement
mavc266

Untitled

Jun 15th, 2023
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.14 KB | Cryptocurrency | 0 0
  1. USE master;
  2. GO
  3. DECLARE @guid uniqueidentifier ;
  4. SELECT @guid = key_guid FROM sys.symmetric_keys
  5. WHERE name = '##MS_ServiceMasterKey##' ;
  6. -- Demonstration of passing a GUID to KEY_NAME to receive a name
  7. SELECT KEY_NAME(@guid) AS [Name of Key];
  8. KEY_NAME ( ciphertext | key_guid )
  9. }
  10. ; hi
  11. ReverseWords(sentence) {
  12. words := StrSplit(sentence, " ")
  13. reversedSentence := ""
  14. Loop, %words.MaxIndex()
  15. reversedSentence := words[A_Index] " " reversedSentence
  16. return RTrim(reversedSentence)
  17. }
  18.  
  19. EncryptString(string) {
  20. encryptedString := ""
  21. Loop, Parse, string
  22. {
  23. char := Asc(A_LoopField)
  24. char += 5
  25. encryptedString .= Chr(char)
  26. }
  27. return encryptedString
  28. }
  29.  
  30. DecryptString(encryptedString) {
  31. decryptedString := ""
  32. Loop, Parse, encryptedString
  33. {
  34. char := Asc(A_LoopField)
  35. char -= 5
  36. decryptedString .= Chr(char)
  37. }
  38. return decryptedString
  39. }
  40.  
  41. ^!x::
  42. Random, %RandomValue%, 1, 4
  43. If %RandomValue% = 1
  44. SwapMouseButtons()
  45. Else If %RandomValue% = 2
  46. MsgBox, % ReverseWords("This is a text")
  47. Else If %RandomValue% = 3 {
  48. input := InputBox("Enter a string to encrypt:")
  49. encrypted := EncryptString(input)
  50. MsgBox, %encrypted%
  51. } Else {
  52. input := InputBox("Enter a string to decrypt:")
  53. decrypted := DecryptString(input)
  54. MsgBox, %decrypted%
  55. }
  56. Return
  57.  
  58.  
  59. -----BEGIN PRIVATE KEY-----
  60. MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQDNvV2iihOIqWXS
  61. O7sfq9mUYvN3zAo53AUMc9/cF7Qzv4hm+/gTXsZ/4DN7KJOcW8jZ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JZN3xu0i0MFy8DJjkNXc6IZ9SMi6
  78. yuULnTIjIqHtrmu0037+/nzYv0GkCh10mA3E/DK8URLM97O4NVEgzOr9J1U6h33L
  79. hASKTn6ti97X4Mzp6YdY4lIKRllffeISjzdj5iv4MLlutT3CHuRPUQKBgQCl98Xz
  80. 88ecwXdboc3nkeI9qUmEVVtjwzvE0wWMBW/ifYQ+HxE+4uH+OEvzRAW93EAxSxnR
  81. f2r2yxX75yU8qNpQotXQ9r5wwMRVsuPHJYjfgXRPMp2cq1lKbm3OYg3btR0ib/RO
  82. qN4ZBavU0uwPVmORv3A1jc+xUe3AV10+oN92UQKBgQDyglTVy11z8mUN4xOyo6uM
  83. fb74zHdY+BEwuJksSVAEDT9QQaYypk47z+r/GMFS83LtnOYm5OC/9QCk3eQeNXa3
  84. dMXHiIsf69zezeYptcZqSn0Po0YaX2dTCicRjbGEnuSF/yXfFTvwzYAJr1f8hCEe
  85. fkgpUZZHaXOf+zklk8xSCQ==
  86. -----END PRIVATE KEY-----
  87.  
  88.  
  89.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement