Linked Questions

5 votes
3 answers
5k views

I need to encrypt and decrypt string values such as Email address and numeric values, but the encrypted string should not have a '/' in it because I am using that in a URL and using '/' for a ...
Chatur's user avatar
  • 431
1 vote
0 answers
809 views

I am working on a Rijndael256 encrypt and decrypt method in C# and it appears that my encrypt method is "working", however; my decrypt method randomly returns an error about the IV or Data I want to ...
Chris Lombardi's user avatar
-2 votes
1 answer
268 views

I have an encrypted url that gets passed in as a query string such as myurl.com/key/cYtLPBlnOUOi+8413hTQLz+GGeoiLeLhbPuNhK+saqhc/f/FgtKSbcInVB9IIoWER71L1Q6vrnLv8o3eKI843|M== I am having issues, I ...
Em Jay's user avatar
  • 63
124 votes
5 answers
113k views

I want to base64 encode data to put it in a URL and then decode it within my HttpHandler. I have found that Base64 Encoding allows for a '/' character which will mess up my UriTemplate matching. ...
Kirk Liemohn's user avatar
  • 7,943
131 votes
3 answers
153k views

I've been using the JWT library to decode a Json Web Token, and would like to switch to Microsoft's official JWT implementation, System.IdentityModel.Tokens.Jwt. The documentation is very sparse, so ...
w.brian's user avatar
  • 17.7k
28 votes
4 answers
27k views

I'm working on a quick captcha generator for a simple site I'm putting together, and I'm hoping to pass an encrypted key in the url of the page. I could probably do this as a query string parameter ...
LorenVS's user avatar
  • 12.9k
11 votes
2 answers
7k views

I'm trying to remove a dependence on System.Web.dll from a Web API project, but have stumbled on a call to HttpServerUtility.UrlTokenEncode(byte[] input) (and its corresponding decode method) that I ...
Tomas Aschan's user avatar
  • 61.2k
7 votes
1 answer
16k views

I am trying to send an email through code, and I ran into a roadblock. I was working off of this when Base64UrlEncode showed up red. I have the same using statements in my code. using System; using ...
Chris's user avatar
  • 31.7k
10 votes
2 answers
9k views

I need all the text in the body for incoming email. I tried: var mesage = GetMessage(service, "me", 1); Console.WriteLine(mesage.Snippet); public static Message GetMessage(GmailService service, ...
Turgut Kanceltik's user avatar
9 votes
1 answer
6k views

I'm looking for a (fast) standard implementation for base64url according to RFC4648 in C#. I found HttpServerUtility.UrlTokenEncode but it looks like this doesn't follow RFC4648 (UrlTokenEncode adds a ...
Dunken's user avatar
  • 8,689
1 vote
1 answer
10k views

I need to pass a byte array via a URL. So I am encoding it with the UrlEncode Method like this: string ergebnis = HttpUtility.UrlEncode(array); The result is the following string: %00%00%00%00%00%25%...
adryr's user avatar
  • 140
1 vote
1 answer
5k views

I have written an encryption function in Python, which works fine. from cryptography.fernet import Fernet def Encryptor(password): key = b'MAKV2SPBNI99212' cipher_suite = Fernet(key) ...
Procrastinating Programmer's user avatar
2 votes
1 answer
5k views

I am having the following JSON Web Token:- eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9....
Puneet Pant's user avatar
  • 1,068
3 votes
2 answers
5k views

I am trying to verify ES512 jwt token using public key which is in string format: I am trying to imitate a sample written for ES256 which is something like this: // The code for ES256 public ...
Arvind Krmar's user avatar
  • 2,682
0 votes
1 answer
4k views

We have created sample web api and hosted in azure. In that we have many get and Post method. We have to get the response through API by passing some sensitive data like SSN and etc. We felt that ...
Vidhselva's user avatar
  • 117

15 30 50 per page