▁The ▁state ▁is ▁then ▁run ▁through ▁i ▁r ounds , ▁and ▁the ▁initialization ▁stage ▁is ▁complete . ▁The ▁state ▁is ▁now ▁the ▁Initial ization ▁Vector ▁( IV ). ▁The ▁IV ▁can ▁be ▁saved ▁and ▁re used ▁for ▁a ▁given ▁combination ▁of ▁h , ▁b , ▁r . ▁ ▁The ▁message ▁is ▁p added ▁and ▁split ▁to ▁b - byte ▁blocks . ▁The ▁padding ▁app ends ▁a ▁ 1 ▁bit , ▁followed ▁by ▁as ▁many ▁ 0 ▁bits ▁as ▁necessary ▁to ▁make ▁a ▁complete ▁block . ▁ ▁Each ▁block ▁is ▁input ted ▁by ▁X OR ing ▁to ▁the ▁first ▁b ▁bytes ▁of ▁the ▁state , ▁and ▁then ▁performing ▁r ▁r ounds ▁of ▁transformation . ▁ ▁Finally , ▁ 1 ▁is ▁X OR ed ▁to ▁the ▁state ▁word ▁[ 1 1 1 1 1 ], ▁and ▁then ▁f ▁r ounds ▁of ▁transformation ▁are ▁performed . ▁ ▁The ▁output ▁hash ▁is ▁now ▁contained ▁in ▁the ▁first ▁h / 8 ▁bytes ▁of ▁this ▁final ▁state . ▁ ▁Round ▁Function ▁▁ ▁C ube Hash ▁round ▁function ▁consists ▁of ▁the ▁following ▁ten ▁steps : ▁▁ ▁Add ▁x [ 0 j kl m ] ▁into ▁x [ 1 j kl m ] ▁mod ulo ▁ 2 , ▁for ▁each ▁( j , k , l , m ). ▁ ▁Rot ate ▁x [ 0 j kl m ] ▁up wards ▁by ▁ 7 ▁bits , ▁for ▁each ▁( j , k , l , m ). ▁ ▁Sw ap ▁x [ 0 0 kl m ] ▁with ▁x [ 0