import random


def generateNum(no_bits):
    """
    Generates a random non-negative with no-bits many random bits. If the number is even, 1 is added to ensure it's odd.
    Uses SystemRandom() for more secure random bit generation.
    """
    num = random.SystemRandom().getrandbits(no_bits)
    if num%2==0:
        num +=1
    return num