Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: GrandCentral

  1. #1
    Junior Member
    Join Date
    Jun 2012
    Location
    Long Island, NY
    Posts
    11
    Thanks
    1
    Thanked 1 Time in 1 Post

    Default GrandCentral

    Hey everyone. I am announcing a new Java class library called GrandCentral. I created GrandCentral to help developers make their applications very secure. Currently there are only two classes inside GrandCentral. These classes are TokenAuthority and SimpleCrypto.

    TokenAuthority is used to create secure password tokens based on the time of day. This class is very simple to implement into your Java application. To generate a password token you have to send a plain text non-secured password to the generateToken method. In response you will receive a String containing a secured password token.
    public static void main(String[] args) {
             TokenAuthority tAuth = new TokenAuthority();
             System.out.println(tAuth.generateToken("yourPassword"));
     }
    The above produces the output
    6e6e0230c86300080376fd91b08204a9-DQPYqsWQEdlg6/XOMGas4hIfsA==-1f8c5690bbf2fec23c147052cdf24c9f-18006-dc1136dfde10362bd6fd26f72abb4e16-WepOXmbQ1M0vqEnliSDBnSpLRLlF-15d690a3e2ac3c5d58b32d05155112c3

    SimpleCrypto is used to create digests and checksums using both SHA and MD5 algorithms.
    • To generate a digest you have to send a plain text String to either the shaDigest()* or md5Digest() method. In response you will receive a String containing the generated digest.
    • To generate a checksum you have to send a file path to either the shaChecksum()* or md5Checksum() method. In response you will receive a String containing the generated checksum.

    public static void main(String[] args) {
             SimpleCrypto sCrypto = new SimpleCrypto();
             System.out.println(sCrypto.md5Digest("YourText"));
     }
    The above produces the output
    abfbb122e916f376ecf84fa373884d2e

    GrandCentral is free software: you can redistribute it but you CANNOT modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, version 3 of the License. The source code is not made publicly available and is the original work of Cristian Rivera.

    I have embedded all dependencies inside the GrandCentral v1.-.jar file, therefore you dont have to reference any external libraries in your application. The appropriate licenses have been supplied inside GrandCentral.

    You can check out GrandCentral at http://code.google.com/p/grandcentral/

    *You must also send a Secure Hash Algorithm to the shaDigest() or shaChecksum() method.
    The supported Secure Hash Algorithms are SHA1, SHA-256, SHA-384 or SHA-512.

    Please let me know what you think. If you are interested in contributing feel free to send me a PM or post a reply.
    Last edited by cristian_ny95; June 29th, 2012 at 06:14 PM.

  2. The Following User Says Thank You to cristian_ny95 For This Useful Post:

    Tjstretch (July 4th, 2012)

  3. #2
    Junior Member
    Join Date
    Jun 2012
    Location
    Long Island, NY
    Posts
    11
    Thanks
    1
    Thanked 1 Time in 1 Post

    Default Re: GrandCentral

    Any one who decides to contribute and help out will receive unlimited web storage at http:sylentec.com/yourcustomdirectory or yoursubdomain.sylentec.com with FTP/WebDav access and an email @apps.sylentec.com

  4. #3
    Junior Member
    Join Date
    Jun 2012
    Location
    Long Island, NY
    Posts
    11
    Thanks
    1
    Thanked 1 Time in 1 Post

    Default Re: GrandCentral

    Hello everyone. I have just released v1.1 which includes Sherlock an extremely powerful and easy to use class that helps you index directories and search for files. Check it out at http://code.google.com/p/grandcentral/

Similar Threads

  1. GrandCentral
    By nyyankeefan95 in forum Object Oriented Programming
    Replies: 0
    Last Post: June 17th, 2012, 02:31 PM