elective-stereophonic
elective-stereophonic
C# version of ReedSolomon.java
Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest Nxt Client: Nxt 1.11.15

Author Topic: C# version of ReedSolomon.java  (Read 2932 times)

LiQio

  • Hero Member
  • *****
  • Karma: +50/-5
  • Offline Offline
  • Posts: 672
    • View Profile
    • NxtLoader for Windows
C# version of ReedSolomon.java
« on: June 24, 2014, 01:11:30 pm »

Need someone to create a C# version of ReedSolomon.java

Original NXT source code: ReedSolomon.java
https://bitbucket.org/JeanLucPicard/nxt/src/dbfa2560e829f318325d36d6924a73c69019be01/src/java/nxt/crypto/ReedSolomon.java?at=master

If ENCODE(numericAccountId) is working properly, e.g. ENCODE(100000) should result in NXT-53P2-2222-SQQW-22222 this would be enough.

Requirements:
- .NET 4.0 compatibility
- no need for fancy error handling or the like
- one file
- no external (non .NET) references

Bounty:
Could offer 2500 NXT for a working function

NxtSwe

  • Hero Member
  • *****
  • Karma: +124/-9
  • Offline Offline
  • Posts: 657
    • View Profile
Re: C# version of ReedSolomon.java
« Reply #1 on: June 24, 2014, 08:47:31 pm »

You've got a version in a pm.
Logged
Check out the NxtLib, the .NET Framework API for the Nxt platform.

rajc

  • Full Member
  • ***
  • Karma: +11/-0
  • Offline Offline
  • Posts: 119
    • View Profile
Re: C# version of ReedSolomon.java
« Reply #2 on: June 24, 2014, 09:51:28 pm »

shit
one hour of my friends life waisted, just because I was to lazy to post replay ...

https://www.dropbox.com/s/a4101ljua6stptv/ReedSolomon.zip

je toto život?
Logged

LiQio

  • Hero Member
  • *****
  • Karma: +50/-5
  • Offline Offline
  • Posts: 672
    • View Profile
    • NxtLoader for Windows
Re: C# version of ReedSolomon.java
« Reply #3 on: June 25, 2014, 04:42:56 am »

NxtSwe, rajc

Thanks to both of you.

NxtSwe's code gives me some cast/operand errors, but he was first.
rajc code works out of the box, but he was only second.

I will send both of you 2500 Nxt (je toto život!) - Hope you can help me at a discount next time  ;)

rajc, what's your Nxt account?

*job offer closed*


Edit: will send Nxt after both solutions work - PMed the guys, but I'm sure they will get it to run.

Edit 2: all deliveries good, everybody paid!
« Last Edit: June 25, 2014, 03:25:50 pm by LiQio »
Logged

NxtSwe

  • Hero Member
  • *****
  • Karma: +124/-9
  • Offline Offline
  • Posts: 657
    • View Profile
Re: C# version of ReedSolomon.java
« Reply #4 on: June 25, 2014, 09:19:07 am »

I sent a fixed version and got paid in full.
Glad to help!
Logged
Check out the NxtLib, the .NET Framework API for the Nxt platform.

rajc

  • Full Member
  • ***
  • Karma: +11/-0
  • Offline Offline
  • Posts: 119
    • View Profile
Re: C# version of ReedSolomon.java
« Reply #5 on: June 26, 2014, 12:34:44 pm »

it is like Christmas and LiQio is santa :D
Logged

Daedelus

  • Board Moderator
  • Hero Member
  • ****
  • Karma: +230/-12
  • Offline Offline
  • Posts: 3280
    • View Profile
Re: C# version of ReedSolomon.java
« Reply #6 on: June 26, 2014, 12:49:13 pm »

Well done guys, the system works  ;D

Topic is now locked  8)

I changed my mind. I think it is better to leave it open an then when someone else needs C# guys, they can post in here to see if rajc or NxtSwe are interested
Logged
NXT: NXT-4CS7-S4N5-PTH5-A8R2Q
 

elective-stereophonic
elective-stereophonic
assembly
assembly