Searched refs:clearText (Results 1 – 2 of 2) sorted by relevance
31 function des_encrypt_ecb($key, $clearText) { argument43 …$blockCount = (int) (strlen($clearText) / 8); //Figure out how many blocks of 8 bytes we need to …44 if (strlen ($clearText) % 8) { //Check to see if there are any leftovers46 $clearText = str_pad($clearText, $blockCount * 8, chr(0x00)); //Pad it out with zeroes49 $clearBlock = substr($clearText, $i * 8, 8); //Grab a block from the input56 function des_block_encode($clearText, $subKeys) { argument76 $ip .= $clearText[$bit - 1];