Bitcoin Forum
June 17, 2024, 07:01:41 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 [50] 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 »
  Print  
Author Topic: [ANN] Kryptohash | Brand new PoW algo | 320bit hash | ed25519 | PID algo for dif  (Read 149396 times)
wr104 (OP)
Sr. Member
****
Offline Offline

Activity: 329
Merit: 250


View Profile WWW
January 11, 2015, 05:24:32 PM
 #981

The biggest threat this coin could ever face would be me losing my full time job.

I'm working on the To Do list.  Android Wallet is the next item on the list.
driedgrape
Newbie
*
Offline Offline

Activity: 45
Merit: 0


View Profile
January 11, 2015, 11:38:08 PM
 #982

The biggest threat this coin could ever face would be me losing my full time job.

I'm working on the To Do list.  Android Wallet is the next item on the list.

That's really a bad news~
without further development,this coin may go dead. Angry
driedgrape
Newbie
*
Offline Offline

Activity: 45
Merit: 0


View Profile
January 11, 2015, 11:54:48 PM
 #983

The biggest threat this coin could ever face would be me losing my full time job.

I'm working on the To Do list.  Android Wallet is the next item on the list.

BTW : thanks for your honesty.
xinbinbin
Full Member
***
Offline Offline

Activity: 196
Merit: 100


View Profile
January 12, 2015, 03:12:10 AM
 #984

The biggest threat this coin could ever face would be me losing my full time job.

I'm working on the To Do list.  Android Wallet is the next item on the list.

That's really a bad news~
without further development,this coin may go dead. Angry
A detailed plan of time? You love this coin? Why should we give up it!
tsiv
Full Member
***
Offline Offline

Activity: 137
Merit: 100


View Profile
January 12, 2015, 08:45:55 AM
 #985

Current version of KSHAKE320 algorithm requires 64Kb per hash.  I could change it to require 128Kb+ on a dime.

But, what limits the speed of the algorithm is not the amount of RAM but, the speed you can store/read data to/from RAM.  If in the future, new RAM technology allows for very fast memory that is also affordable then, the KSHAKE320 algorithm may no longer offer an advantage over regular hashing algorithms.


Correct me if I'm wrong, but the 64 kB scratchpad looks unnecessary. OpenCL isn't exactly a native tongue to me, but from what I gather the core is roughly something like this:

Code:
initState(A);
absorbInput(A);
for( i = 0; i < 546; i++ ) {
  keccakPermutation(A);
  saveStateToScratchpad(i, A);
}

initState(A);
for( i = 0; i < 546; i++ ) {
  absorbFromScratchpad(A, i);
  keccakPermutation(A);
}

If that is correct, then you could just have two keccak states instead the current scratchpad implementation? Something like this:

Code:
initState(A);
initState(B);
absorbInput(A);
for( i = 0; i < 546; i++ ) {
  keccakPermutation(A);
  absorbFromState(B, A);
  keccakPermutation(B);
}

I might be misinterpreting the openCL kernel or overlooking something, seems too obvious of a way to get rid of the scratchpad.
wr104 (OP)
Sr. Member
****
Offline Offline

Activity: 329
Merit: 250


View Profile WWW
January 12, 2015, 03:58:03 PM
Last edit: January 12, 2015, 04:15:17 PM by wr104
 #986

Current version of KSHAKE320 algorithm requires 64Kb per hash.  I could change it to require 128Kb+ on a dime.

But, what limits the speed of the algorithm is not the amount of RAM but, the speed you can store/read data to/from RAM.  If in the future, new RAM technology allows for very fast memory that is also affordable then, the KSHAKE320 algorithm may no longer offer an advantage over regular hashing algorithms.


Correct me if I'm wrong, but the 64 kB scratchpad looks unnecessary. OpenCL isn't exactly a native tongue to me, but from what I gather the core is roughly something like this:

Code:
initState(A);
absorbInput(A);
for( i = 0; i < 546; i++ ) {
  keccakPermutation(A);
  saveStateToScratchpad(i, A);
}

initState(A);
for( i = 0; i < 546; i++ ) {
  absorbFromScratchpad(A, i);
  keccakPermutation(A);
}

If that is correct, then you could just have two keccak states instead the current scratchpad implementation? Something like this:

Code:
initState(A);
initState(B);
absorbInput(A);
for( i = 0; i < 546; i++ ) {
  keccakPermutation(A);
  absorbFromState(B, A);
  keccakPermutation(B);
}

I might be misinterpreting the openCL kernel or overlooking something, seems too obvious of a way to get rid of the scratchpad.


The first hash is calculated using 120 bytes of data as an input. The result of this first hash (using Extendable Output Function SHAKE-320) is stored in the 64Kb scratchpad (120 * 546 to be exact).  
Then, a second hash is calculated using those 64Kb of scratchpad data as an input and the final result is a 40 bytes hash (320bits).
tsiv
Full Member
***
Offline Offline

Activity: 137
Merit: 100


View Profile
January 13, 2015, 03:27:10 AM
 #987

Current version of KSHAKE320 algorithm requires 64Kb per hash.  I could change it to require 128Kb+ on a dime.

But, what limits the speed of the algorithm is not the amount of RAM but, the speed you can store/read data to/from RAM.  If in the future, new RAM technology allows for very fast memory that is also affordable then, the KSHAKE320 algorithm may no longer offer an advantage over regular hashing algorithms.


Correct me if I'm wrong, but the 64 kB scratchpad looks unnecessary. OpenCL isn't exactly a native tongue to me, but from what I gather the core is roughly something like this:

Code:
initState(A);
absorbInput(A);
for( i = 0; i < 546; i++ ) {
  keccakPermutation(A);
  saveStateToScratchpad(i, A);
}

initState(A);
for( i = 0; i < 546; i++ ) {
  absorbFromScratchpad(A, i);
  keccakPermutation(A);
}

If that is correct, then you could just have two keccak states instead the current scratchpad implementation? Something like this:

Code:
initState(A);
initState(B);
absorbInput(A);
for( i = 0; i < 546; i++ ) {
  keccakPermutation(A);
  absorbFromState(B, A);
  keccakPermutation(B);
}

I might be misinterpreting the openCL kernel or overlooking something, seems too obvious of a way to get rid of the scratchpad.


The first hash is calculated using 120 bytes of data as an input. The result of this first hash (using Extendable Output Function SHAKE-320) is stored in the 64Kb scratchpad (120 * 546 to be exact).  
Then, a second hash is calculated using those 64Kb of scratchpad data as an input and the final result is a 40 bytes hash (320bits).

And that's exactly what the second code snippet does. Instead of first calculating the full output of the XOF into a scratchpad and then separately hashing the scratchpad contents into the final hash, you can do it block by block. Maintain two keccak states, calculate first 120 bytes of the XOF output using the first state, update the second hash state with those 120 bytes, then calculate the next 120 bytes of the XOF, update the second hash with that. Repeat until finished.
wr104 (OP)
Sr. Member
****
Offline Offline

Activity: 329
Merit: 250


View Profile WWW
January 13, 2015, 04:32:22 AM
Last edit: January 13, 2015, 04:52:50 AM by wr104
 #988

Current version of KSHAKE320 algorithm requires 64Kb per hash.  I could change it to require 128Kb+ on a dime.

But, what limits the speed of the algorithm is not the amount of RAM but, the speed you can store/read data to/from RAM.  If in the future, new RAM technology allows for very fast memory that is also affordable then, the KSHAKE320 algorithm may no longer offer an advantage over regular hashing algorithms.


Correct me if I'm wrong, but the 64 kB scratchpad looks unnecessary. OpenCL isn't exactly a native tongue to me, but from what I gather the core is roughly something like this:

Code:
initState(A);
absorbInput(A);
for( i = 0; i < 546; i++ ) {
  keccakPermutation(A);
  saveStateToScratchpad(i, A);
}

initState(A);
for( i = 0; i < 546; i++ ) {
  absorbFromScratchpad(A, i);
  keccakPermutation(A);
}

If that is correct, then you could just have two keccak states instead the current scratchpad implementation? Something like this:

Code:
initState(A);
initState(B);
absorbInput(A);
for( i = 0; i < 546; i++ ) {
  keccakPermutation(A);
  absorbFromState(B, A);
  keccakPermutation(B);
}

I might be misinterpreting the openCL kernel or overlooking something, seems too obvious of a way to get rid of the scratchpad.


The first hash is calculated using 120 bytes of data as an input. The result of this first hash (using Extendable Output Function SHAKE-320) is stored in the 64Kb scratchpad (120 * 546 to be exact).  
Then, a second hash is calculated using those 64Kb of scratchpad data as an input and the final result is a 40 bytes hash (320bits).

And that's exactly what the second code snippet does. Instead of first calculating the full output of the XOF into a scratchpad and then separately hashing the scratchpad contents into the final hash, you can do it block by block. Maintain two keccak states, calculate first 120 bytes of the XOF output using the first state, update the second hash state with those 120 bytes, then calculate the next 120 bytes of the XOF, update the second hash with that. Repeat until finished.

Unless, I feed the second hash using the first hash output in reverse order (last byte first) which I didn't do in this version of the algorithm.

Well, this is why it is good to have other people reviewing your work.  Good catch.
xinbinbin
Full Member
***
Offline Offline

Activity: 196
Merit: 100


View Profile
January 13, 2015, 05:28:50 AM
 #989

Why the https://empoex.com/ where no trading volume, this is a good trading platform!!!
WORE
Sr. Member
****
Offline Offline

Activity: 350
Merit: 250


View Profile
January 13, 2015, 05:35:08 AM
 #990

Why the https://empoex.com/ where no trading volume, this is a good trading platform!!!

There needs to be more done, smart phone wallets, then more integration, but it looks like the algo might change.
xinbinbin
Full Member
***
Offline Offline

Activity: 196
Merit: 100


View Profile
January 13, 2015, 05:37:05 AM
 #991

Why the https://empoex.com/ where no trading volume, this is a good trading platform!!!

There needs to be more done, smart phone wallets, then more integration, but it looks like the algo might change.
Too bad, I dig a month, sell do not go out, a waste of electricity, I quit!!!
Undead_Phenix
Member
**
Offline Offline

Activity: 112
Merit: 10


View Profile
January 13, 2015, 07:05:03 AM
 #992

Why the https://empoex.com/ where no trading volume, this is a good trading platform!!!

There needs to be more done, smart phone wallets, then more integration, but it looks like the algo might change.
Too bad, I dig a month, sell do not go out, a waste of electricity, I quit!!!
he he ,what a Chiglish~  Grin

SecretsOfCrypto
Sr. Member
****
Offline Offline

Activity: 466
Merit: 250


Twitter Follow for no BS crypto: @SecretsOfCrypto


View Profile WWW
January 13, 2015, 07:14:43 AM
 #993

what are the benefits of this new PoW algorithm? why is it better than the others?
wr104 (OP)
Sr. Member
****
Offline Offline

Activity: 329
Merit: 250


View Profile WWW
January 13, 2015, 07:33:24 AM
 #994

Well, I'm going to have to put the Android wallet on hold while I work on a new Wallet that will transition the network to a KSHAKE320 version2 algorithm.

This could take at least a couple of weeks due to all the testing required to ensure the transition can be as smooth as possible.  Undecided
Undead_Phenix
Member
**
Offline Offline

Activity: 112
Merit: 10


View Profile
January 13, 2015, 07:41:39 AM
 #995

Well, I'm going to have to put the Android wallet on hold while I work on a new Wallet that will transition the network to a KSHAKE320 version2 algorithm.

This could take at least a couple of weeks due to all the testing required to ensure the transition can be as smooth as possible.  Undecided
Is the KSHAKE320 version2 algorithm cooler ?  Huh

tacee
Sr. Member
****
Offline Offline

Activity: 386
Merit: 250


View Profile
January 13, 2015, 10:14:28 AM
 #996

the net hashrate is stable at 20Mh/s these days  Cheesy
WORE
Sr. Member
****
Offline Offline

Activity: 350
Merit: 250


View Profile
January 13, 2015, 04:00:46 PM
 #997

Well, I'm going to have to put the Android wallet on hold while I work on a new Wallet that will transition the network to a KSHAKE320 version2 algorithm.

This could take at least a couple of weeks due to all the testing required to ensure the transition can be as smooth as possible.  Undecided
Is the KSHAKE320 version2 algorithm cooler ?  Huh

Yep, way cooler than avian zombies.  But on the plus side, the coin over all is compliant to new encryption standards on top of an invention that conceptually destroys counterfeit money.  Way cooler than what the corporate banker Nazi's have done to curb that problem.
bufferfund
Newbie
*
Offline Offline

Activity: 31
Merit: 0


View Profile
January 14, 2015, 01:53:28 AM
 #998

The biggest threat this coin could ever face would be me losing my full time job.

I'm working on the To Do list.  Android Wallet is the next item on the list.


sad if you are about to losing your day job?
i guess dev means he may lose full time for developping this coin.
WORE
Sr. Member
****
Offline Offline

Activity: 350
Merit: 250


View Profile
January 14, 2015, 06:58:37 AM
 #999

The biggest threat this coin could ever face would be me losing my full time job.

I'm working on the To Do list.  Android Wallet is the next item on the list.


sad if you are about to losing your day job?
i guess dev means he may lose full time for developping this coin.

No that isn't it at all.  He means that if Earth were to be hit by Nibiru and all life on either planet were to be destroyed then he might lose his job.  But the blockchain would still be intact, just lost for a while.  Kind of like a black hole, no data is lost.
crypto_currency
Full Member
***
Offline Offline

Activity: 195
Merit: 100


View Profile
January 14, 2015, 11:23:30 AM
 #1000

The biggest threat this coin could ever face would be me losing my full time job.

I'm working on the To Do list.  Android Wallet is the next item on the list.


sad if you are about to losing your day job?
i guess dev means he may lose full time for developping this coin.

No that isn't it at all.  He means that if Earth were to be hit by Nibiru and all life on either planet were to be destroyed then he might lose his job.  But the blockchain would still be intact, just lost for a while.  Kind of like a black hole, no data is lost.
so ,what does that mean reguarding the future of this coin ?? Huh
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 [50] 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!