Converting String to Byte Array

  • Thread starter Thread starter Wardeaux
  • Start date Start date
W

Wardeaux

I'm sure there's got to be an easier way...

What's the best way to convert a String to and from ByteArray for use in
Base64 crypto?

MTIA!!
wardeaux
 
What's the best way to convert a String to and from ByteArray for use in
Base64 crypto?

System.Text.Encoding.UTF8.GetBytes()



Mattias
 
* "Wardeaux said:
I'm sure there's got to be an easier way...

What's the best way to convert a String to and from ByteArray for use in
Base64 crypto?

'System.Text.Encoding.*.GetBytes'.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top