vc ++ base64编码 [英] vc++ base64 encoding

查看:126
本文介绍了vc ++ base64编码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一些如何在base64中编码字符串对(用户/密码)

的示例。我正在使用基本的Windows身份验证...

??有人能帮助我吗?


提前谢谢


Miguel

解决方案

你知道数据类型''__int64''吗?不确定这是否会有所帮助,但

以为我会提到它。在这里查看详细信息(它不是标准的C ++,但是

再一次,VS C ++ .NET也没有):

http://msdn2.microsoft.com/en-us/library/29dh1w7z.aspx


[== P ==]


" Miguel" <弥**** @ discussions.microsoft.com>在消息中写道

新闻:FD ********************************** @ microsof t.com ...

我正在寻找一些如何在base64中编码字符串对
(用户/密码)
的示例。我正在使用基本的Windows身份验证...
?有人可以帮助我吗?

提前谢谢

Miguel



"米格尔" <弥**** @ discussions.microsoft.com>在消息中写道

新闻:FD ********************************** @ microsof t.com ...

我正在寻找一些如何在base64中编码字符串对
(用户/密码)
的示例。我正在使用基本的Windows身份验证...




Google是你的朋友。此链接位于我的

搜索结果集的顶部:

http://www.adp-gmbh.ch/cpp/common/base64.html


问候,



Miguel ...将转换:: ToBase64String(myByteArray)工作吗?


Miguel写道:

我正在寻找一些如何在base64中编码字符串对(用户/密码)
的例子。我正在使用基本的Windows身份验证...
??有人可以帮助我吗?

提前谢谢

Miguel



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

解决方案

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****@discussions.microsoft.com> wrote in message
news:FD**********************************@microsof t.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****@discussions.microsoft.com> wrote in message
news:FD**********************************@microsof t.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::ToBase64String(myByteArray) 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



这篇关于vc ++ base64编码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆