Research Article

A Novel Protective Framework for Defeating HTTP-Based Denial of Service and Distributed Denial of Service Attacks

Algorithm 3

STBOA algorithm formulas to generate puzzle, random number, and nonce value.
x = rand()
puzzle = (2 * pow (2, x)) + (2 * x) − 9
nonce = md5(‘fgwlcx’. time())