[NFC] Extract getUserCheckSum function