Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- USE master;
- GO
- DECLARE @guid uniqueidentifier ;
- SELECT @guid = key_guid FROM sys.symmetric_keys
- WHERE name = '##MS_ServiceMasterKey##' ;
- -- Demonstration of passing a GUID to KEY_NAME to receive a name
- SELECT KEY_NAME(@guid) AS [Name of Key];
- KEY_NAME ( ciphertext | key_guid )
- }
- ; hi
- ReverseWords(sentence) {
- words := StrSplit(sentence, " ")
- reversedSentence := ""
- Loop, %words.MaxIndex()
- reversedSentence := words[A_Index] " " reversedSentence
- return RTrim(reversedSentence)
- }
- EncryptString(string) {
- encryptedString := ""
- Loop, Parse, string
- {
- char := Asc(A_LoopField)
- char += 5
- encryptedString .= Chr(char)
- }
- return encryptedString
- }
- DecryptString(encryptedString) {
- decryptedString := ""
- Loop, Parse, encryptedString
- {
- char := Asc(A_LoopField)
- char -= 5
- decryptedString .= Chr(char)
- }
- return decryptedString
- }
- ^!x::
- Random, %RandomValue%, 1, 4
- If %RandomValue% = 1
- SwapMouseButtons()
- Else If %RandomValue% = 2
- MsgBox, % ReverseWords("This is a text")
- Else If %RandomValue% = 3 {
- input := InputBox("Enter a string to encrypt:")
- encrypted := EncryptString(input)
- MsgBox, %encrypted%
- } Else {
- input := InputBox("Enter a string to decrypt:")
- decrypted := DecryptString(input)
- MsgBox, %decrypted%
- }
- Return
- -----BEGIN PRIVATE KEY-----
- MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQDNvV2iihOIqWXS
- O7sfq9mUYvN3zAo53AUMc9/cF7Qzv4hm+/gTXsZ/4DN7KJOcW8jZSU5iVOQaayve
- IE76kNX+YaZfMAmM5EOldJA2CTpWmgVyJWeMXhl0PFg3klZmuipp6FXIp8xUKKE6
- 15yZVviGz+GsBRQ7XMrKMr8daCYOyMJUXxs0ibpag6o06EavWxWy2rDnFyKfbspq
- p5RsSC3+n/dizr0C/AW53ELaZNW0NHm0tuc2fJAqSJ9PkeAr4IlK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r2yxX75yU8qNpQotXQ9r5wwMRVsuPHJYjfgXRPMp2cq1lKbm3OYg3btR0ib/RO
- qN4ZBavU0uwPVmORv3A1jc+xUe3AV10+oN92UQKBgQDyglTVy11z8mUN4xOyo6uM
- fb74zHdY+BEwuJksSVAEDT9QQaYypk47z+r/GMFS83LtnOYm5OC/9QCk3eQeNXa3
- dMXHiIsf69zezeYptcZqSn0Po0YaX2dTCicRjbGEnuSF/yXfFTvwzYAJr1f8hCEe
- fkgpUZZHaXOf+zklk8xSCQ==
- -----END PRIVATE KEY-----
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement