Click here to Skip to main content
16,016,527 members
Home / Discussions / C#
   

C#

 
AnswerRe: Determine If String Is Encrypted Pin
Eddy Vluggen4-Feb-11 12:10
professionalEddy Vluggen4-Feb-11 12:10 
GeneralRe: Determine If String Is Encrypted Pin
Kevin Marois4-Feb-11 12:28
professionalKevin Marois4-Feb-11 12:28 
GeneralRe: Determine If String Is Encrypted Pin
Richard Andrew x644-Feb-11 13:06
professionalRichard Andrew x644-Feb-11 13:06 
GeneralRe: Determine If String Is Encrypted Pin
Eddy Vluggen5-Feb-11 7:35
professionalEddy Vluggen5-Feb-11 7:35 
GeneralRe: Determine If String Is Encrypted Pin
OriginalGriff5-Feb-11 9:34
mveOriginalGriff5-Feb-11 9:34 
AnswerRe: Determine If String Is Encrypted Pin
Henry Minute4-Feb-11 13:09
Henry Minute4-Feb-11 13:09 
AnswerRe: Determine If String Is Encrypted Pin
PIEBALDconsult4-Feb-11 13:25
mvePIEBALDconsult4-Feb-11 13:25 
AnswerRe: Determine If String Is Encrypted Pin
jschell4-Feb-11 13:49
jschell4-Feb-11 13:49 
Kevin Marois wrote:
I'm wondering if there's any way to determine if a string has really been encrypted from a method that's receiving the string and doesn't know what the unencrypted value is.


One way would be to explicitly add a prefix like: 'encrypt:' and 'plain:'

However you can also note that encryption creates binary values. Strings cannot contain binary values.

The algorithm that you referenced is returning the binary data encoded as base64. So unless your system is also passing around other binary data without specifying what it is then any valid base64 value larger than a certain length (say 20) could be considered encrypted.
AnswerRe: Determine If String Is Encrypted Pin
Abhinav S4-Feb-11 18:51
Abhinav S4-Feb-11 18:51 
AnswerRe: Determine If String Is Encrypted Pin
OriginalGriff4-Feb-11 21:23
mveOriginalGriff4-Feb-11 21:23 
QuestionRs232 Comm Ports Icon or Class?? Pin
glennPattonWork34-Feb-11 5:51
professionalglennPattonWork34-Feb-11 5:51 
AnswerRe: Rs232 Comm Ports Icon or Class?? Pin
Luc Pattyn4-Feb-11 5:57
sitebuilderLuc Pattyn4-Feb-11 5:57 
GeneralRe: Rs232 Comm Ports Icon or Class?? Pin
glennPattonWork34-Feb-11 6:08
professionalglennPattonWork34-Feb-11 6:08 
AnswerRe: Rs232 Comm Ports Icon or Class?? Pin
Luc Pattyn4-Feb-11 6:11
sitebuilderLuc Pattyn4-Feb-11 6:11 
GeneralRe: Rs232 Comm Ports Icon or Class?? Pin
PIEBALDconsult4-Feb-11 15:01
mvePIEBALDconsult4-Feb-11 15:01 
AnswerRe: Rs232 Comm Ports Icon or Class?? Pin
PIEBALDconsult4-Feb-11 15:01
mvePIEBALDconsult4-Feb-11 15:01 
QuestionCreate a silent setup with Visual Studio 2010 Pin
Eduard Keilholz4-Feb-11 3:54
Eduard Keilholz4-Feb-11 3:54 
AnswerRe: Create a silent setup with Visual Studio 2010 Pin
Abhinav S4-Feb-11 5:25
Abhinav S4-Feb-11 5:25 
GeneralRe: Create a silent setup with Visual Studio 2010 Pin
Eduard Keilholz6-Feb-11 20:54
Eduard Keilholz6-Feb-11 20:54 
QuestionWhich Timer to use? Pin
Ravi Sant4-Feb-11 3:53
Ravi Sant4-Feb-11 3:53 
AnswerRe: Which Timer to use? Pin
Paladin20004-Feb-11 4:10
Paladin20004-Feb-11 4:10 
GeneralRe: Which Timer to use? Pin
Ravi Sant4-Feb-11 9:42
Ravi Sant4-Feb-11 9:42 
AnswerRe: Which Timer to use? Pin
Pete O'Hanlon4-Feb-11 4:21
mvePete O'Hanlon4-Feb-11 4:21 
GeneralRe: Which Timer to use? Pin
Ian Shlasko4-Feb-11 6:05
Ian Shlasko4-Feb-11 6:05 
GeneralRe: Which Timer to use? Pin
Pete O'Hanlon4-Feb-11 9:30
mvePete O'Hanlon4-Feb-11 9:30 

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.