TokenID to Principal

Hello

How i can generate prinicipal from the two parameters

tokenid = 100 and canister id

Wondering about the generating principal from tokenid and canister id

Thank you