Click here to Skip to main content
14,207,050 members

.NET Framework

 
PinnedHOW TO ANSWER A QUESTION Pin
Chris Maunder16-Jul-09 3:09
adminChris Maunder16-Jul-09 3:09 
PinnedHow to get an answer to your question Pin
Chris Maunder16-Jul-09 3:05
adminChris Maunder16-Jul-09 3:05 
QuestionCryptography - Substitution Cipher Question Pin
YSLGuru12-Jun-19 19:44
memberYSLGuru12-Jun-19 19:44 
Please let me know if this is not the correct location in the boards for this post. I did not see a section for cryptography or for Security.

A piece of accounting software we use that is for a vertical industry use to store our users passwords in a RDBMS as plain text. They did use a substitution cipher so the password was encrypted at a very basic level. They also used a location specif substitution. I don;t know if that is the correct term for this type of substitution cipher but its where the letter you replace changes based on the original character and its position within the encrypted text. For example if the password was password then the text stored might be h^e)7ght . Even though the s is listed twice its substituted text is different because the first instance is in the 3rd position and the next is in the fourth position. The substituted character was always the same based on original character value plus its postilion so the lower case s was always stored as a lower case e when it was in the third potion of any users password. I hope that properly conveys the encryption method the software used and if there is a proper term for this kind of substitution cipher please post and let me know.

With the most recent update the software vendor has moved to a more complex encryption method and I'm puzzled by it because the encrypted text consist of fewer characters then its source. For example if the password is password then the encrypted text consists of 64 characters. If the password is paswordpasswordpassword the encrypted text is 64 characters long. I assume that when the password is less then 64 characters then the process is padding the rest. What puzzles me is when we use a password that is greater then 64 characters in length. If i create a password that consist of 70 characters the encrypted text is still only 64 characters in length. I'm new to this so this may be a dumb question but how can you use fewer characters then the source text you are encrypting?
AnsweriRe: Cryptography - Substitution Cipher Question Pin
OriginalGriff12-Jun-19 19:50
protectorOriginalGriff12-Jun-19 19:50 
AnswerRe: Cryptography - Substitution Cipher Question Pin
OriginalGriff12-Jun-19 20:17
protectorOriginalGriff12-Jun-19 20:17 
QuestionMessage Closed Pin
11-Jun-19 19:44
memberdhekitha11-Jun-19 19:44 
QuestionMessage Closed Pin
11-Jun-19 19:42
memberdhekitha11-Jun-19 19:42 
GeneralMessage Closed Pin
24-May-19 21:37
memberMember 1446847024-May-19 21:37 
GeneralRe: how to open dll file Pin
Dave Kreskowiak25-May-19 5:35
mveDave Kreskowiak25-May-19 5:35 
GeneralRe: how to open dll file Pin
Eddy Vluggen12-Jun-19 1:16
mveEddy Vluggen12-Jun-19 1:16 
GeneralRe: how to open dll file Pin
Richard Deeming12-Jun-19 3:37
mveRichard Deeming12-Jun-19 3:37 
GeneralRe: how to open dll file Pin
Richard MacCutchan25-May-19 5:52
protectorRichard MacCutchan25-May-19 5:52 
QuestionMessage Closed Pin
21-Apr-19 6:53
memberMember 1432178121-Apr-19 6:53 
AnswerRe: 阿萨德群无若群无若无群若 Pin
Richard Andrew x6421-Apr-19 7:32
professionalRichard Andrew x6421-Apr-19 7:32 
AnswerRe: 阿萨德群无若群无若无群若 Pin
Eddy Vluggen21-Apr-19 14:52
mveEddy Vluggen21-Apr-19 14:52 
QuestionPassing Value from XAML to ViewModel Pin
Jassim Rahma20-Apr-19 13:45
memberJassim Rahma20-Apr-19 13:45 
AnswerRe: Passing Value from XAML to ViewModel Pin
Gerry Schmitz21-Apr-19 5:56
mveGerry Schmitz21-Apr-19 5:56 
AnswerMessage Closed Pin
8-May-19 20:03
memberrobermartin8-May-19 20:03 
QuestionWriting unit tests for two methods of the same Service are being called in one method: FluentAssertions Pin
simpledeveloper19-Apr-19 14:32
membersimpledeveloper19-Apr-19 14:32 
AnswerRe: Writing unit tests for two methods of the same Service are being called in one method: FluentAssertions Pin
Gerry Schmitz21-Apr-19 6:08
mveGerry Schmitz21-Apr-19 6:08 
GeneralRe: Writing unit tests for two methods of the same Service are being called in one method: FluentAssertions Pin
simpledeveloper21-Apr-19 16:58
membersimpledeveloper21-Apr-19 16:58 
GeneralRe: Writing unit tests for two methods of the same Service are being called in one method: FluentAssertions Pin
Gerry Schmitz22-Apr-19 4:36
mveGerry Schmitz22-Apr-19 4:36 
GeneralRe: Writing unit tests for two methods of the same Service are being called in one method: FluentAssertions Pin
simpledeveloper22-Apr-19 7:07
membersimpledeveloper22-Apr-19 7:07 
GeneralRe: Writing unit tests for two methods of the same Service are being called in one method: FluentAssertions Pin
Gerry Schmitz22-Apr-19 8:28
mveGerry Schmitz22-Apr-19 8:28 
GeneralRe: Writing unit tests for two methods of the same Service are being called in one method: FluentAssertions Pin
simpledeveloper22-Apr-19 8:55
membersimpledeveloper22-Apr-19 8:55 

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.


Advertise | Privacy | Cookies | Terms of Service
Web05 | 2.8.190612.1 | Last Updated 13 Jun 2019
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid