Click here to Skip to main content
15,912,977 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: How to insert a .swf file in a ASP.Net page Pin
Kandepu Rajesh13-Feb-14 20:50
Kandepu Rajesh13-Feb-14 20:50 
GeneralRe: How to insert a .swf file in a ASP.Net page Pin
thatraja13-Feb-14 20:55
professionalthatraja13-Feb-14 20:55 
Questionweb api - basic authentication (principal error) Pin
miss78613-Feb-14 0:06
miss78613-Feb-14 0:06 
AnswerRe: web api - basic authentication (principal error) Pin
Richard Deeming13-Feb-14 1:20
mveRichard Deeming13-Feb-14 1:20 
GeneralRe: web api - basic authentication (principal error) Pin
miss78614-Feb-14 2:07
miss78614-Feb-14 2:07 
GeneralRe: web api - basic authentication (principal error) Pin
Richard Deeming14-Feb-14 3:00
mveRichard Deeming14-Feb-14 3:00 
GeneralRe: web api - basic authentication (principal error) Pin
miss78627-Feb-14 4:27
miss78627-Feb-14 4:27 
GeneralRe: web api - basic authentication (principal error) Pin
Richard Deeming27-Feb-14 4:38
mveRichard Deeming27-Feb-14 4:38 
GeneralRe: web api - basic authentication (principal error) Pin
miss78627-Feb-14 6:31
miss78627-Feb-14 6:31 
QuestionThis Control is invalid -Error Pin
Member 799271612-Feb-14 21:43
Member 799271612-Feb-14 21:43 
AnswerRe: This Control is invalid -Error Pin
Richard Deeming13-Feb-14 0:59
mveRichard Deeming13-Feb-14 0:59 
QuestionPlz help for button data insert in to table... Pin
Patel Vinay V12-Feb-14 16:23
Patel Vinay V12-Feb-14 16:23 
AnswerRe: Plz help for button data insert in to table... Pin
Ahmed Bensaid12-Feb-14 22:31
professionalAhmed Bensaid12-Feb-14 22:31 
AnswerRe: Plz help for button data insert in to table... Pin
Tadit Dash (ତଡିତ୍ କୁମାର ଦାଶ)13-Feb-14 8:07
protectorTadit Dash (ତଡିତ୍ କୁମାର ଦାଶ)13-Feb-14 8:07 
QuestionASPNET AJAX sys.webserver configuration for NET 4+ Pin
Kishore Goduguluri12-Feb-14 4:21
Kishore Goduguluri12-Feb-14 4:21 
QuestionTime Table Pin
Prakaz2511-Feb-14 23:37
professionalPrakaz2511-Feb-14 23:37 
AnswerRe: Time Table Pin
Wonderful Coder12-Feb-14 0:11
Wonderful Coder12-Feb-14 0:11 
SuggestionRe: Time Table Pin
Kornfeld Eliyahu Peter12-Feb-14 0:11
professionalKornfeld Eliyahu Peter12-Feb-14 0:11 
Questionweb api c# - error Pin
miss78611-Feb-14 5:56
miss78611-Feb-14 5:56 
AnswerRe: web api c# - error Pin
Kornfeld Eliyahu Peter11-Feb-14 7:01
professionalKornfeld Eliyahu Peter11-Feb-14 7:01 
QuestionRe: web api c# - error Pin
Richard MacCutchan11-Feb-14 7:09
mveRichard MacCutchan11-Feb-14 7:09 
Question[CLOSED] Aes Encryption fails Pin
vishalgpt11-Feb-14 4:57
vishalgpt11-Feb-14 4:57 
why does this function fails, with CipherMode.OFB where as it works with CipherMode.ECB

VB
Public Function EncryptAES(sIn As String, sKey As String) As String
     Dim AES As New RijndaelManaged()
     Dim ahashMD5 As New MD5CryptoServiceProvider()
     AES.Key = ahashMD5.ComputeHash(System.Text.ASCIIEncoding.ASCII.GetBytes(sKey))
     AES.Mode = CipherMode.OFB
     Dim AESEncrypt As ICryptoTransform = AES.CreateEncryptor()
     Dim aBuffer As Byte() = System.Text.ASCIIEncoding.ASCII.GetBytes(sIn)
     Return Convert.ToBase64String(AESEncrypt.TransformFinalBlock(aBuffer, 0, aBuffer.Length))
 End Function


Error Message : Specified cipher mode is not valid for this algorithm.
Regards,
Vishal

AnswerRe: Aes Encryption fails Pin
Richard Deeming11-Feb-14 8:27
mveRichard Deeming11-Feb-14 8:27 
GeneralRe: Aes Encryption fails Pin
vishalgpt11-Feb-14 16:21
vishalgpt11-Feb-14 16:21 
GeneralRe: Aes Encryption fails Pin
Richard Deeming12-Feb-14 1:26
mveRichard Deeming12-Feb-14 1:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.