Click here to Skip to main content
16,008,469 members
Home / Discussions / Algorithms
   

Algorithms

 
QuestionC++ algorithm Question Pin
Member 1310646721-Jun-17 18:29
Member 1310646721-Jun-17 18:29 
AnswerRe: C++ algorithm Question Pin
OriginalGriff21-Jun-17 18:37
mveOriginalGriff21-Jun-17 18:37 
QuestionInvoice / Payments history table or statement of account Pin
Bastien Vandamme14-Jun-17 15:50
Bastien Vandamme14-Jun-17 15:50 
AnswerRe: Invoice / Payments history table or statement of account Pin
Gerry Schmitz14-Jun-17 16:17
mveGerry Schmitz14-Jun-17 16:17 
GeneralRe: Invoice / Payments history table or statement of account Pin
Bastien Vandamme14-Jun-17 16:46
Bastien Vandamme14-Jun-17 16:46 
GeneralRe: Invoice / Payments history table or statement of account Pin
Gerry Schmitz14-Jun-17 17:39
mveGerry Schmitz14-Jun-17 17:39 
AnswerRe: Invoice / Payments history table or statement of account Pin
jschell10-Jul-17 4:30
jschell10-Jul-17 4:30 
QuestionChaotic image encryption algorithm by Xingyuan Wang Pin
Member 1325934114-Jun-17 4:53
Member 1325934114-Jun-17 4:53 
QuestionSelecting values from list to make up totals in second list Pin
Wayne Gaylard15-May-17 21:45
professionalWayne Gaylard15-May-17 21:45 
AnswerRe: Selecting values from list to make up totals in second list Pin
Richard MacCutchan15-May-17 22:27
mveRichard MacCutchan15-May-17 22:27 
GeneralRe: Selecting values from list to make up totals in second list Pin
Wayne Gaylard15-May-17 22:34
professionalWayne Gaylard15-May-17 22:34 
AnswerRe: Selecting values from list to make up totals in second list Pin
F-ES Sitecore22-May-17 4:48
professionalF-ES Sitecore22-May-17 4:48 
QuestionALGORITHM EFFICIENCY/BIG O NOTATION Pin
Member 1313303117-Apr-17 1:29
Member 1313303117-Apr-17 1:29 
AnswerRe: ALGORITHM EFFICIENCY/BIG O NOTATION Pin
OriginalGriff17-Apr-17 1:30
mveOriginalGriff17-Apr-17 1:30 
GeneralRe: ALGORITHM EFFICIENCY/BIG O NOTATION Pin
Member 1313303117-Apr-17 1:59
Member 1313303117-Apr-17 1:59 
AnswerRe: ALGORITHM EFFICIENCY/BIG O NOTATION Pin
Ralf Meier17-Apr-17 2:08
mveRalf Meier17-Apr-17 2:08 
AnswerRe: ALGORITHM EFFICIENCY/BIG O NOTATION Pin
Gerry Schmitz17-Apr-17 7:15
mveGerry Schmitz17-Apr-17 7:15 
GeneralRe: ALGORITHM EFFICIENCY/BIG O NOTATION Pin
Member 1313303118-Apr-17 1:27
Member 1313303118-Apr-17 1:27 
QuestionRe: ALGORITHM EFFICIENCY/BIG O NOTATION Pin
Eddy Vluggen18-Apr-17 1:47
professionalEddy Vluggen18-Apr-17 1:47 
AnswerRe: ALGORITHM EFFICIENCY/BIG O NOTATION Pin
Member 1313303118-Apr-17 1:53
Member 1313303118-Apr-17 1:53 
GeneralRe: ALGORITHM EFFICIENCY/BIG O NOTATION Pin
Eddy Vluggen18-Apr-17 3:54
professionalEddy Vluggen18-Apr-17 3:54 
Questionalgorithm method...??? Pin
9119110910-Apr-17 17:17
9119110910-Apr-17 17:17 
i have script for encrypt dan decrypt...

Public Shared Function Decrypt(ByRef Msg As String, ByRef Key As String) As String
        Dim str As String
        Dim builder As New StringBuilder
        Try 
            Dim num5 As Integer = (Msg.Length - 1)
            Dim i As Integer = 0
            Do While (i <= num5)
                Dim num3 As Integer = Strings.Asc(Conversions.ToChar(Msg.Substring(i, 1)))
                Dim num2 As Integer = Strings.Asc(MFunction.GetKey(Key, i))
                Dim charCode As Integer = (num3 - num2)
                builder.Append(Strings.Chr(charCode))
                i += 1
            Loop
            str = builder.ToString
        Catch exception1 As Exception
            ProjectData.SetProjectError(exception1)
            Dim exception As Exception = exception1
            Throw New Exception(("Public Function Decrypt(ByRef Msg As String, ByRef Key As String) As String Error : " & ChrW(13) & ChrW(10) & exception.Message.ToString & ChrW(13) & ChrW(10)))
        Finally
            builder.Length = 0
        End Try
        Return str
    End Function


Public Shared Function Encrypt(ByRef Msg As String, ByRef Key As String) As String
       Dim str As String
       Dim builder As New StringBuilder
       Try
           Dim num5 As Integer = (Msg.Length - 1)
           Dim i As Integer = 0
           Do While (i <= num5)
               Dim num3 As Integer = Strings.Asc(Conversions.ToChar(Msg.Substring(i, 1)))
               Dim num2 As Integer = Strings.Asc(MFunction.GetKey(Key, i))
               Dim charCode As Integer = (num3 + num2)
               builder.Append(Strings.Chr(charCode))
               i += 1
           Loop
           str = builder.ToString
       Catch exception1 As Exception
           ProjectData.SetProjectError(exception1)
           Dim exception As Exception = exception1
           Throw New Exception(("Public Function Encrypt(ByRef Msg As String, ByRef Key As String) As String Error : " & ChrW(13) & ChrW(10) & exception.Message.ToString & ChrW(13) & ChrW(10)))
       Finally
           builder.Length = 0
       End Try
       Return str
   End Function


what algorithm is used?
Please advise...
AnswerRe: algorithm method...??? Pin
Richard MacCutchan10-Apr-17 21:52
mveRichard MacCutchan10-Apr-17 21:52 
AnswerRe: algorithm method...??? Pin
Bernhard Hiller10-Apr-17 22:49
Bernhard Hiller10-Apr-17 22:49 
AnswerRe: algorithm method...??? Pin
Richard Deeming11-Apr-17 2:13
mveRichard Deeming11-Apr-17 2:13 

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.