Find Jobs
Hire Freelancers

Port C++ Number Generator to Java class + JSP

$100-500 USD

Completed
Posted about 17 years ago

$100-500 USD

Paid on delivery
Attached is a C++ project used to generate unique strings and some supporting data. It makes uses of random number generation, CRC32 and SHA256 hashing. I need this C++ project ported to a java class and a jsp for testing the class. The class should be called SaDataGen and should consist of the following methods: 1) string[] GenStrings(X, Y); This generates X random strings of Y length. Strings should consist of characters A-Z 0-9 only. For details on generating this data see [login to view URL] in the attached. Note: [login to view URL] contains duplicates checking for supporting data values. You need not implement this, you need only insure that the strings you generate are unique. The max number of strings should be a constant in the code set to 1000, and the max length a constant set to 55. 2) int GenRaw(X, len) Accepts string X of length len and generates a numeric value from it. This should be a direct port of the GenRaw method data from the [login to view URL] file included here. 3) int GenConf(X, len) Accepts string X of length len and generates a numeric value from it. This should be a direct port of the GenConf method data from the [login to view URL] file included here. This code needs to be pure java, no JNI please. The testing JSP should be a form that accepts a number of strings to generate and a length of the strings, it should then output an HTML table of: String N - GenRaw Result for String N - GenConf Result for String N Using the classes methods for each generated string. So example output would be: A2BC2DE2FG2HI2JK2LMO12323 - 12345678 - 12345678 The data generated by this class must match the data generated by the C++ classes methods exactly! The C++ application leverages Crypto++ which can be freely downloaded at: [[login to view URL]][1]. You will need an alternative for use with Java. ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables): a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment. b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request. 3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement). ## Platform Java/JSP Enterprise RedHat Linux
Project ID: 2922199

About the project

1 proposal
Remote project
Active 17 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
See private message.
$89.25 USD in 4 days
5.0 (123 reviews)
5.7
5.7

About the client

Flag of UNITED STATES
United States
5.0
255
Member since May 24, 2006

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.