Secure Hash





ranking Sort Sort   |   date Sort Sort   |   member Sort Sort
Syndication

10
Date Submitted Wed. Dec. 20th, 2006 10:26 AM
Revision 1
Scripter shachi
Tags JavaScript | manipulation | removeCharAt | String
Comments 1 comments
This simple function simply removes the character at the given index from a string.

NOTE: The count starts from 0
10
Date Submitted Thu. Dec. 21st, 2006 3:48 AM
Revision 1
Scripter shachi
Tags addCharAt | JavaScript | manipulation | String
Comments 0 comments
Adds any character at the given index of a string.

NOTE: Count starts from 0
10
Date Submitted Thu. Mar. 16th, 2006 10:01 PM
Revision 2
Coder mattrmiller
Tags Bytes | Format | Java | String
Comments 0 comments
Format Bytes
9
Date Submitted Mon. Jul. 24th, 2006 9:45 PM
Revision 1
Helper svachon
Tags JavaScript | String
Comments 0 comments
Gets the rightmost substring, of the specified length, from a String object.
9
Date Submitted Tue. Sep. 19th, 2006 7:53 PM
Revision 1
Helper jbplou
Tags CSharp | Security | String
Comments 0 comments
Generates an 88 character secure hash string for the passed in strings.
9
Date Submitted Wed. Oct. 25th, 2006 9:57 AM
Revision 1
Helper fastmike
Tags C | File | Java | String
Comments 12 comments
What is Dijkstra Algorithm? click on the link above and first understand what the algorithm is all about. in short it calculates the shortest path from A to F or vise versa. This code i can guarantee is the simplest and easiest code to understand. just search on google and try to compare this code and other dijkstra code and you will see what i am talking about. i spent alot of time myself and my instructor to guide me on the rite path.
http://en.wikipedia.org/wiki/Dijkstra%27s_algorithm(Description)
to see how the algorithm really works go on this website it tells you step by step how to update the cost and which path to choose.
http://renaud.waldura.com/doc/java/dijkstra/
Please give some time to understand the algorithm first and then you can see my code. if you done understand the algorithm it is very useless. i know alot of people need Dijkstra algorithm in java for their HW assignment or Test. i am giving you the solution step by step. anyone who wants to understand please go to the url i have posted above and once you have understand then run the code and for those people who just want to copy so that they can get 90% in their test No Problem Here it is .
First open a notepad and name that file anything like data.txt or datas.txt and make sure the file looks something like this and in this format.
0 3 100 5 100 100 (100 represents infinity)
3 0 6 7 7 100
100 6 0 5 5 3
5 7 5 0 1 100
100 7 5 1 0 2
100 100 3 100 2 0
i name this file as a data.txt file. i have 6 nodes. and A is always the starting node which has the cost of 0 so by looking at the first line i
know that A to A have distance 0, A to B is 3, A to c is Infinity, A to D is 5, A to E is Infinity(means no edge connected with A), A to F is Infinity.
for second line(B to A is 3, and then vise versa) and for the 3rd line it starts for C and etc..
save the txt file by any name and then copy the code which i have posted and then to run type this:
javac routing.java
java routing data.txt
you will get the output. i will say this one more time understand how the algorithm works or ......................
9
Date Submitted Thu. Nov. 16th, 2006 5:30 AM
Revision 1
Helper Celebhir
Tags characters | PHP | split | String
Comments 0 comments
Function that splits a given string into sections based on the allowed length for a section. Does not split words up. Splits string on Space character (can be set to another character)
9
Date Submitted Sat. Sep. 23rd, 2006 5:53 AM
Revision 1
Beginner vbdotnetboy
Tags "Random Generation" | .Net | VB.NET
Comments 1 comments
Description:
Call one of the overloaded functions and a you will have a randomly generated password.

Generate() - Will generate a password 13 or (more/less) characters in length ranging from A-Z a-z 0-9 and other characters such as @ # %... etc.

Generate(ByVal AsciiMin As Integer, ByVal AsciiMax As Integer)
Generate(ByVal AsciiMin As Char, ByVal AsciiMax As Char) - Allows you to set your ASCII range if you wish not to include number for example.

Generate(ByVal ExcludeValues As String()) - Works like Generate() buts characters passed in the array will not be used to generate the password.

Generate(ByVal AsciiMin As Integer, ByVal AsciiMax As Integer, ByVal ExcludeValues As String())
Generate(ByVal AsciiMin As Char, ByVal AsciiMax As Char, ByVal ExcludeValues As String()) - Works like Generate(ByVal AsciiMin As Integer, ByVal AsciiMax As Integer) & Generate(ByVal AsciiMin As Char, ByVal AsciiMax As Char), but allows you to also exclude characters that you do not wish the generator to use.



UPDATE
03/06/2006: Included use of Phill64's TrueRandom2 class for generating random numbers. Also overloaded the constructor so that a length can be set for the password, if the length is not set the default is set to 13.
9
Date Submitted Thu. Jan. 4th, 2007 4:22 AM
Revision 1
Beginner jimmah
Tags DataGrid | forms | VB.NET | windows
Comments 3 comments
The easiest way to give columns in a DataGrid the look you want is to use a DataGridTableStyle and to add a GridColumnStyle for each column in the grid.
9
Date Submitted Fri. May. 26th, 2006 11:16 AM
Revision 2
Coder mattrmiller
Tags "Email Address" | Java | String | Validate
Comments 2 comments
Fixed the regular expression to check for more strict requirements.