I am looking for some example of how to encode a string pair (user/password)
in base64. I am using basic windows authentication. ..
¿Could anybody help me?
Thank you in advance
Miguel 9 3837
Are you aware of the data type '__int64' ? Not sure if that will help, but
thought I'd mention it. Look here for details (it's not standard C++, but
then again, neither is VS C++.NET): http://msdn2.microsoft.com/en-us/library/29dh1w7z.aspx
[==P==]
"Miguel" <Mi****@discuss ions.microsoft. com> wrote in message
news:FD******** *************** ***********@mic rosoft.com... I am looking for some example of how to encode a string pair (user/password) in base64. I am using basic windows authentication. .. ¿Could anybody help me?
Thank you in advance
Miguel
"Miguel" <Mi****@discuss ions.microsoft. com> wrote in message
news:FD******** *************** ***********@mic rosoft.com... I am looking for some example of how to encode a string pair (user/password) in base64. I am using basic windows authentication. ..
Google is your friend. This link was at the top of the result set of my
search: http://www.adp-gmbh.ch/cpp/common/base64.html
Regards,
Will
Miguel... Will Convert::ToBase 64String(myByte Array) work?
"Miguel" wrote: I am looking for some example of how to encode a string pair (user/password) in base64. I am using basic windows authentication. .. ¿Could anybody help me?
Thank you in advance
Miguel
I had a good laugh reading this one ;-)
"Peter Oliphant" <po*******@Roun dTripInc.com> wrote in message
news:um******** ******@TK2MSFTN GP14.phx.gbl... Are you aware of the data type '__int64' ? Not sure if that will help, but thought I'd mention it. Look here for details (it's not standard C++, but then again, neither is VS C++.NET):
http://msdn2.microsoft.com/en-us/library/29dh1w7z.aspx
[==P==]
"Miguel" <Mi****@discuss ions.microsoft. com> wrote in message news:FD******** *************** ***********@mic rosoft.com...I am looking for some example of how to encode a string pair (user/password) in base64. I am using basic windows authentication. .. ¿Could anybody help me?
Thank you in advance
Miguel
thanks!
I 'll take a look next week :-)
"Peter Oliphant" wrote: Are you aware of the data type '__int64' ? Not sure if that will help, but thought I'd mention it. Look here for details (it's not standard C++, but then again, neither is VS C++.NET):
http://msdn2.microsoft.com/en-us/library/29dh1w7z.aspx
[==P==]
"Miguel" <Mi****@discuss ions.microsoft. com> wrote in message news:FD******** *************** ***********@mic rosoft.com...I am looking for some example of how to encode a string pair (user/password) in base64. I am using basic windows authentication. .. ¿Could anybody help me?
Thank you in advance
Miguel
umm, but does it work with visual c++? I mean can I use the same code for c++
that for vc++?
"Lloyd Dupont" wrote: I had a good laugh reading this one ;-)
"Peter Oliphant" <po*******@Roun dTripInc.com> wrote in message news:um******** ******@TK2MSFTN GP14.phx.gbl... Are you aware of the data type '__int64' ? Not sure if that will help, but thought I'd mention it. Look here for details (it's not standard C++, but then again, neither is VS C++.NET):
http://msdn2.microsoft.com/en-us/library/29dh1w7z.aspx
[==P==]
"Miguel" <Mi****@discuss ions.microsoft. com> wrote in message news:FD******** *************** ***********@mic rosoft.com...I am looking for some example of how to encode a string pair (user/password) in base64. I am using basic windows authentication. .. ¿Could anybody help me?
Thank you in advance
Miguel
"Miguel" <Mi****@discuss ions.microsoft. com> wrote I am looking for some example of how to encode a string pair (user/password) in base64. I am using basic windows authentication. .. ¿Could anybody help me?
Thank you in advance
The ATL Server library has support functions for Base64 encoding/decoding
(probably to support sending emails via SMTP). IIRC the functions are
Base64(En|De)co de.
Take a look at atlenc.h/inl
-hg
"Miguel" <Mi****@discuss ions.microsoft. com> wrote in message
news:5D******** *************** ***********@mic rosoft.com... umm, but does it work with visual c++? I mean can I use the same code for c++ that for vc++?
Visual C++ (vc++) is a developer tool _product_ of Microsoft. The recent
editions of the product (VS2003 and VS2005) include a C++ _language_
compiler whose compliance with the ISO standard is on a par with most other
products from major vendors (e.g. no export support regarding templates).
So, yes, standard C++ code should be compilable with recent editions of
VC++.
On the other hand, if you are still using Visual Studio 6.0, many standard
C++ samples will fail to compile as-is.
Regards,
Will
thanks everybody!
"Holger Grund" wrote: "Miguel" <Mi****@discuss ions.microsoft. com> wrote
I am looking for some example of how to encode a string pair (user/password) in base64. I am using basic windows authentication. .. ¿Could anybody help me?
Thank you in advance The ATL Server library has support functions for Base64 encoding/decoding (probably to support sending emails via SMTP). IIRC the functions are Base64(En|De)co de. Take a look at atlenc.h/inl
-hg This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: wenmang |
last post by:
Hi,
I ma thinking whether to use Base64 encoding to encode the binary
content in the XML file. I have done some simple calculations, it
seems to me that the size for encoded content increases by ~30%, is
this the drawback for using the encoding scheme?
Thanks.
|
by: mvdevnull |
last post by:
hey all
currently i use the following piece of code to check if the string passed to
me can be converted to base64, it is not very efficient and bad, can someone
please suggest another of doing this
private string ConvertBase64ToString(string content)
{
StringBuilder sb = new StringBuilder();
int i = content.GetUpperBound(0);
|
by: kevin |
last post by:
DISCLAIMER: I know what the words mean (i.e. by definition), but I in know
way pretend to understand the specifics of either, therefore I may need a
basic primer before I can accomplish this task, but the instructions I
received do not seem correct.
I need to covert a hex string to base64 and was told to
1. convert from the HEX string to a byte array
2. convert the byte array to Base64 encoding
3. the two encodings would produce the...
|
by: Severino |
last post by:
Hi all,
we have developed a .NET component for use inside Windows Forms: this
component has been written using VC++.NET (2003) and is working perfectly
when inserted inside VC#.NET or VB.NET projects; its generated assembly is
inside MyAssembly.dll
When used inside a VC++.NET project it appears correctly over forms at
design time but when trying to compile the project we get the following
error:
|
by: Severino |
last post by:
Hi all,
we have developed a .NET component for use inside Windows Forms: this
component has been written using VC++.NET (2003) and is working perfectly
when inserted inside VC#.NET or VB.NET projects; its generated assembly is
inside MyAssembly.dll
When used inside a VC++.NET project it appears correctly over forms at
design time but when trying to compile the project we get the following
error:
| |
by: Jay |
last post by:
I have bean trying to get my head around reading .GIF files from base64
strings,
Basically I need to specify a filename and convert it to base64 then I
can copy/past the string to wear I want it.
Cold somebody check this for me to see what I have done wrong:
If you run this program and enter a path for a .GIF file into the white
box and hit <Enter> it should display the string in the blue box.
To test this if you click the menu File...
|
by: Jeremy Kitchen |
last post by:
I have encoded a string into Base64 for the purpose of encryption. I
then later decrypted it and converted it back from Base64 the final
string returns with four nothing characters.
"pass" what the result should be
"pass____ what the result is where each underline char is a nothing
char.
I am about to write a function that will remove the nothing chars butI
would like to know what is causing the problem and simply avoid it
|
by: aruna.eies.eng |
last post by:
i am currently trying to convert data into binary data.for that i need
to know how to achieve it in c language and what are the libraries
that we can use. so if any one can send me a sample code or send me
the library file which helps that is really grateful.
aruna.
|
by: pycraze |
last post by:
Hi ,
I am currently trying to implement base64 encoding and decoding
scheme in C . Python has a module , base64 , that will do the
encoding and decoding with ease . I am aware of OpenSSL having support
for base64 encoding and decoding , but i will have to now implement
both in C without using the openssl libraries .
I was able to download a code w.r.t. base 64 encoding and
decoding . I am attaching the code below .
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |